This class acts as a base class for QATransactionalManager and QAManager, which manage transactional and non-transactional messaging, respectively.
Visual Basic Public Interface QAManagerBase
C# public interface QAManagerBase
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.
You can use QAManagerBase.LastError and QAManagerBase.LastErrorMessage to return error information when a QAException occurs. You may also obtain the error information from the QAException object.
QAManagerBase also provides methods to set and get message store properties.
For more information, see Client message store properties and the MessageStoreProperties class.
QAManagerBase members
Mode property
BrowseMessages method
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
GetProperty method
GetQueueDepth method
GetQueueDepth method
GetSbyteStoreProperty method
GetShortStoreProperty method
GetStoreProperty method
GetStorePropertyNames method
GetStringStoreProperty method
PropertyExists method
PutMessage method
PutMessageTimeToLive 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
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |