This class acts as a base class for QATransactionalManager and QAManager, which manage transactional and non-transactional messaging, respectively.
public interface QAManagerBase
All members of QAManagerBase interface, including all inherited members.
Name | Description |
---|---|
Browses all available messages in the message store. | |
Browse the message with the given message ID. | |
Browses the available messages waiting that have been sent to the given address. | |
Browse messages queued in the message store that satisfy the given selector. | |
Cancels the message with the given message ID. | |
Closes the connection to the QAnywhere message system and releases any resources used by the QAManagerBase. | |
Creates a QABinaryMessage object. | |
Creates a QATextMessage object. | |
Gets a boolean value for a pre-defined or custom message store property. | |
Gets a signed byte value for a pre-defined or custom message store property. | |
Gets a double value for a pre-defined or custom message store property. | |
Gets a float value for a pre-defined or custom message store property. | |
Gets a int value for a pre-defined or custom message store property. | |
Gets a long value for a pre-defined or custom message store property. | |
Returns the next available QAMessage sent to the specified address. | |
Returns the next available QAMessage sent to the specified address that satisfies the given selector. | |
Returns the next available QAMessage sent to the given address that satisfies the given selector. | |
Returns the next available QAMessage sent to the given address that satisfies the given selector. | |
Returns the next available QAMessage sent to the given address. | |
Returns the next available QAMessage sent to the given address. | |
Returns the QAManager acknowledgement mode for received messages. | |
Returns the total depth of all queues, based on a given filter. | |
Gets a short value for a pre-defined or custom message store property. | |
Gets an Object representing a message store property. | |
Gets an enumerator over the message store property names. | |
Gets a string value for a pre-defined or custom message store property. | |
Tests if there currently exists a value for the given the property. | |
Prepares a message to send to another QAnywhere client. | |
Prepares a message to send to another QAnywhere client. | |
Reopens the QAManagerBase. | |
Sets a pre-defined or custom message store property to a boolean value. | |
Sets a pre-defined or custom message store property to a sbyte value. | |
Sets a pre-defined or custom message store property to a double value. | |
Sets a pre-defined or custom message store property to a float value. | |
Sets a pre-defined or custom message store property to a int value. | |
Sets a pre-defined or custom message store property to a long value. | |
Registers a QAMessageListener object to receive QAnywhere messages asynchronously. | |
Registers a QAMessageListener2 object to receive QAnywhere messages asynchronously. | |
Registers a QAMessageListener object to receive QAnywhere messages asynchronously, with a message selector. | |
Registers a QAMessageListener2 object to receive QAnywhere messages asynchronously, with a message selector. | |
Allows you to set QAnywhere Manager configuration properties programmatically. | |
Sets a pre-defined or custom message store property to a short value. | |
Sets a pre-defined or custom message store property to a System.Object value. | |
Sets a pre-defined or custom message store property to a String value. | |
Starts the QAManagerBase for receiving incoming messages. | |
Halts the QAManagerBase's reception of incoming messages. | |
Causes a synchronization with the QAnywhere message server, uploading any messages addressed to other clients, and downloading any messages addressed to the local client. |
Use the QAManagerBase.start() method to allow a QAManagerBase instance to listen for messages. An instance of QAManagerBase must be used only on the thread that created it.
You can use instances of this class to create and manage QAnywhere messages. Use the QAManagerBase.createBinaryMessage() and QAManagerBase.createTextMessage() methods to create appropriate QAMessage instances. QAMessage instances provide a variety of methods to set message content and properties. To send QAnywhere messages, use the QAManagerBase.putMessage(String, QAMessage) method to place the addressed message in the local message store queue. The message is transmitted by the QAnywhere Agent based on its transmission policies or when you call QAManagerBase.triggerSendReceive().
QAManagerBase also provides methods to set and get message store properties.
browseMessages method
browseMessagesByID method
browseMessagesByQueue method
browseMessagesBySelector method
cancelMessage method
close method
createBinaryMessage method
createTextMessage method
getBooleanStoreProperty method
getByteStoreProperty method
getDoubleStoreProperty method
getFloatStoreProperty method
getIntStoreProperty method
getLongStoreProperty method
getMessage method
getMessageBySelector method
getMessageBySelectorNoWait method
getMessageBySelectorTimeout method
getMessageNoWait method
getMessageTimeout method
getMode method
getQueueDepth method
getShortStoreProperty method
getStoreProperty method
getStorePropertyNames method
getStringStoreProperty method
propertyExists method
putMessage method
putMessageTimeToLive method
reOpen method
setBooleanStoreProperty method
setByteStoreProperty method
setDoubleStoreProperty method
setFloatStoreProperty method
setIntStoreProperty method
setLongStoreProperty method
setMessageListener method
setMessageListener2 method
setMessageListenerBySelector method
setMessageListenerBySelector2 method
setProperty method
setShortStoreProperty method
setStoreProperty method
setStringStoreProperty method
start method
stop method
triggerSendReceive method
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |