![]() | ![]() |
Home |
|
|
Sybase dbQueue Reference Guide |
|
| Chapter 2: dbQueue Objects Class Reference |
|
| Objects Library |
This chapter contains reference pages for the dbQueue objects C++ class library. Table 2-1 lists the dbQueue objects classes and their methods.
Action Method | Description |
Adds the application database for the domain. | |
Alters the administrative password for the database. | |
Removes the database initialization information for queuing. | |
Installs the SQL implementation to initialize the database for queuing. | |
Examines the database to determine whether queue initialization tables and stored procedures have been installed. | |
Opens a connection to the database and checks that it is correct. | |
Rereads the database attributes from the catalog. | |
Removes the application database from the catalog. | |
List Methods | Description |
Returns a list containing a DbqQueue instance for each queue defined within the application database. | |
Action Method | Description |
Begins a user transaction. | |
Closes an open connection to an application database. | |
Commits a user transaction. | |
Opens a connection to an application database. | |
Rolls back a user transaction. | |
Action Method | Description |
Closes a connection to the domain. | |
Deinstalls the catalog for a domain. | |
Finds existing domain entities using the entity name. | |
Installs the catalog for a domain. | |
Returns the installation status of the catalog. | |
Opens a connection to the domain catalog. | |
Allocates blank entity instances that can be used to add new entities to the catalog. | |
Creates an empty message that can be filled in for enqueuing. | |
Deinstalls and removes all entities in the domain. | |
List Methods | Description |
Creates a list containing a DbqAppDb instance for each application database in the catalog or an empty list if none exist. | |
Creates a list containing a DbqQueue instance for each queue in the catalog or an empty list if none exist. | |
Creates a list containing a DbqMessageType instance for each message type in the catalog or an empty list if none exist. | |
Creates a list containing a DbqQtm instance for each QTM in the catalog or an empty list if none exist. | |
Creates a list containing a DbqTransfer instance for each transfer in the catalog or an empty list if none exist. | |
Action Method | Description |
Retrieves the next element from the list. | |
Retrieves a specific element from the list. | |
Returns the number of elements in the list. | |
Positions the pointer to the beginning of the list. | |
Action Method | Description |
Static method used to get a new environment instance. | |
Allocates a new DbqQueueAccessor instance. | |
Allocates a DbqDomain instance. | |
Allocates a new DbqQueueAccessor instance. | |
Allocates a new DbqQueueAccessor instance on a shared ODBC connection. | |
Writes a message to the log maintained by dbQueue objects. | |
Error class used to hold error messages. | |
Action Method | Description |
Fetches the value of a column into a client-supplied buffer. | |
Puts a value into a message column from a client-supplied buffer. | |
List Method | Description |
Returns a DbqMessageColumn instance for each column in the message. | |
Read-only class used to list the attributes of message columns. | |
Action Method | Description |
Adds a column to a message type. | |
Adds a new message type to the domain. | |
Rereads message type attributes from the catalog. | |
Removes message type from the catalog. | |
List Method | Description |
Returns a DbqMessageColumn instance for each column in the message or an empty list if none exist. The list is in column order. | |
Action Method | Description |
Cleans up and deletes the instance. | |
Fetches the next error message, if there is one. | |
Fetches all available error messages and returns them as a DbqEnumerator instance. | |
Returns the number of pending errors. | |
Action Method | Description |
Adds a QTM definition. | |
Connects to the QTM to ensure that it is running. | |
Rereads the QTM attributes from the catalog. | |
Requests QTM to reload configuration information and its list of transfers from the catalog. | |
Removes the QTM definition from the catalog. | |
Requests that the QTM terminate. | |
List Method | Description |
Returns a DbqTransfer instance for each transfer that the QTM handles or an empty list if none exist | |
Action Method | Description |
Adds a new queue definition to the domain. | |
Removes the queue implementation, including the queue itself and any associated message types. | |
Installs SQL to implement the queue and any associated message types. | |
Examines the queue to determine whether it has been implemented. | |
Rereads the queue attributes from the catalog. | |
Removes the queue from the catalog. | |
List Method | Description |
Returns a DbqMessageType instance for each message type associated with the queue or an empty list if none exist. | |
Action Method | Description |
Finds out the current number of messages in the queue. | |
Dequeues a message and places it in a new DbqMessage instance. | |
Dequeues a message by message type name and places it in a new DbqMessage instance. | |
Dequeues a message by subject and places it in a new DbqMessage instance. | |
Dequeues a message by message ID and places it in a new DbqMessage instance. | |
Dequeues a message by priority and places it in a new DbqMessage instance. | |
Enqueues a message. | |
Initializes a queue for use, which includes confirming that the queue exists and loading the list of message types supported by the queue. | |
Removes all messages from the queue. | |
List Method | Description |
Returns a list of all the messages in the queue. | |
Action Method | Description |
Adds transfer definition. | |
Rereads the transfer attributes from the catalog. | |
Removes the transfer definition from the catalog. | |
|
| Class DbqAppDb |
|
| DbqAppDb::Add() |
|
| DbqAppDb::AlterPassword() |
|
| DbqAppDb::Deinstall() |
|
| DbqAppDb::Install() |
|
| DbqAppDb::InstallStatus() |
|
| DbqAppDb::Ping() |
|
| DbqAppDb::Refresh() |
|
| DbqAppDb::Remove() |
|
| Class DbqConnection |
|
| DbqConnection::BeginTran() |
|
| DbqConnection::Close() |
|
| DbqConnection::Commit() |
|
| DbqConnection::Open() |
|
| DbqConnection::Rollback() |
|
| Class DbqDomain |
|
| DbqDomain::Close() |
|
| DbqDomain::Deinstall() |
|
| DbqDomain::FindEntity() |
|
| DbqDomain::Install() |
|
| DbqDomain::InstallStatus() |
|
| DbqDomain::Open() |
|
| DbqDomain::NewEntity() |
|
| DbqDomain::NewMessage() |
|
| DbqDomain::RemoveAll() |
|
| Class DbqEnumerator |
|
| DbqEnumerator::Fetch() |
|
| DbqEnumerator::GetElement() |
|
| DbqEnumerator::Size() |
|
| DbqEnumerator::Start() |
|
| Class DbqEnv |
|
| DbqEnv::NewEnv() |
|
| DbqEnv::NewConnection() |
|
| DbqEnv::NewDomain() |
|
| DbqEnv::NewQueueAccessor() |
|
| DbqEnv::NewSharedConnection() |
|
| DbqEnv::WriteToLog() |
|
| Class DbqErr |
|
| Class DbqMessage |
|
| DbqMessage::FetchCol<Type>() |
|
| DbqMessage::PutCol<Type>() |
|
| Class DbqMessageColumn |
|
| Class DbqMessageType |
|
| DbqMessageType::InsertColumn() |
|
| DbqMessageType::Add() |
|
| DbqMessageType::Refresh() |
|
| DbqMessageType::Remove() |
|
| Class DbqObject |
|
| DbqObject::Delete() |
|
| DbqObject::FetchError() |
|
| DbqObject::FetchErrorList() |
|
| DbqObject::NumErrors() |
|
| Class DbqQtm |
|
| DbqQtm::Add() |
|
| DbqQtm::Ping() |
|
| DbqQtm::Refresh() |
|
| DbqQtm::ReloadFromCatalog() |
|
| DbqQtm::Remove() |
|
| DbqQtm::Shutdown() |
|
| Class DbqQueue |
|
| DbqQueue::Add() |
|
| DbqQueue::Deinstall() |
|
| DbqQueue::Install() |
|
| DbqQueue::InstallStatus() |
|
| DbqQueue::Refresh() |
|
| DbqQueue::Remove() |
|
| Class DbqQueueAccessor |
|
| DbqQueueAccessor::CheckSize() |
|
| DbqQueueAccessor::Dequeue() |
|
| DbqQueueAccessor::DequeueByMessageTypeName() |
|
| DbqQueueAccessor::DequeueBySubject() |
|
| DbqQueueAccessor::DequeueByMessageID() |
|
| DbqQueueAccessor::DequeueByPriority() |
|
| DbqQueueAccessor::DequeueBySequenceNumber() |
|
| DbqQueueAccessor::Enqueue() |
|
| DbqQueueAccessor::Open() |
|
| DbqQueueAccessor::Truncate() |
|
| Class DbqTransfer |
|
| DbqTransfer::Add() |
|
| DbqTransfer::Refresh() |
|
| DbqTransfer::Remove() |
|
|