This class acts as a base class for QATransactionalManager and QAManager, which manage transactional and non-transactional messaging, respectively.
Public Interface QAManagerBase
public interface QAManagerBase
All members of QAManagerBase interface, including all inherited members.
Name | Description |
---|---|
This method is deprecated. | |
Browses the message with the given message ID. | |
Browses the next available messages waiting that have been sent to the given address. | |
Browses 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 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 total depth of all queues, based on a given filter. | |
Gets a signed byte value for a pre-defined or custom message store property. | |
Gets a short value for a pre-defined or custom message store property. | |
Gets a System.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 double value. | |
Sets an ExceptionListener delegate to receive QAExceptions when processing QAnywhere messages asynchronously. | |
Sets an ExceptionListener2 delegate to receive QAExceptions when processing QAnywhere messages asynchronously. | |
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. | |
Sets a MessageListener delegate to receive QAnywhere messages asynchronously. | |
Sets a MessageListener2 delegate to receive QAnywhere messages asynchronously. | |
Sets a MessageListener delegate to receive QAnywhere messages asynchronously, with a message selector. | |
Sets a MessageListener2 delegate 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 sbyte value. | |
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 in message listeners. | |
Stops 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. | |
Returns the QAManager acknowledgement mode for received messages. |
Use the QAManagerBase.Start() method to allow a QAManagerBase instance to listen for messages. There must be only a single instance of QAManagerBase per thread in your application.
You can use instances of this class to create and manage QAnywhere messages. Use the QAManagerBase.CreateBinaryMessage() method and the QAManagerBase.CreateTextMessage() method 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 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().
For more information about qaagent transmission policies, see Determining when message transmission should occur on the client.
Messages are released from memory when you close a QAManagerBase instance using the QAManagerBase.Close method.
QAManagerBase also provides methods to set and get message store properties.
For more information, see Client message store properties and the MessageStoreProperties class.
BrowseMessages method
BrowseMessagesByID method
BrowseMessagesByQueue method
BrowseMessagesBySelector method
CancelMessage method
Close method
CreateBinaryMessage method
CreateTextMessage method
GetBooleanStoreProperty method
GetDoubleStoreProperty method
GetFloatStoreProperty method
GetIntStoreProperty method
GetLongStoreProperty method
GetMessage method
GetMessageBySelector method
GetMessageBySelectorNoWait method
GetMessageBySelectorTimeout method
GetMessageNoWait method
GetMessageTimeout method
GetQueueDepth method
GetSbyteStoreProperty method
GetShortStoreProperty method
GetStoreProperty method
GetStorePropertyNames method
GetStringStoreProperty method
PropertyExists method
PutMessage method
PutMessageTimeToLive method
ReOpen method
SetBooleanStoreProperty method
SetDoubleStoreProperty method
SetExceptionListener method
SetExceptionListener2 method
SetFloatStoreProperty method
SetIntStoreProperty method
SetLongStoreProperty method
SetMessageListener method
SetMessageListener2 method
SetMessageListenerBySelector method
SetMessageListenerBySelector2 method
SetProperty method
SetSbyteStoreProperty method
SetShortStoreProperty method
SetStoreProperty method
SetStringStoreProperty method
Start method
Stop method
TriggerSendReceive method
Mode property
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |