TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | List of all members
com.tmlsidex.tml.TMLProfile Class Reference

TML Profile. More...

Inheritance diagram for com.tmlsidex.tml.TMLProfile:
com.tmlsidex.jni.TmlJniEvtQueueOverflowHandlerIF com.tmlsidex.jni.TmlJniEvtErrorHandlerIF com.tmlsidex.jni.TmlJniEvtPeerRegisterHandlerIF com.tmlsidex.jni.TmlJniEvtPopulateHandlerIF com.tmlsidex.jni.TmlJniBalPeerRegisterHandlerIF com.tmlsidex.jni.TmlJniBalPopulateHandlerIF com.tmlsidex.jni.TmlJniBalCalculationHandlerIF com.tmlsidex.jni.TmlJniBalBusyStatusRequestHandlerIF com.tmlsidex.jni.TmlJniCmdDeleteIF com.tmlsidex.jni.TmlJniCustomDispatchIF com.tmlsidex.jni.TmlJniCmdDispatchIF

Public Member Functions

void jniCmdDispatchCB (long cmdHandle, Object cbData)
 command dispatch handler implementation More...
 
void jniCustomDispatchCB (int iCmdID, long cmdHandle, Object cbData)
 custom dispatch handler implementation More...
 
void jniCmdDeleteHandlerCB (int iCmdID, Object cbCmdData, Object cbData)
 command delete handler implementation More...
 
int jniBalBusyStatusRequestCB (long cmdHandle, Object cbData)
 balancing busy status request handler implementation More...
 
int jniBalCalculateNextReceiverCB (int iCountOfDestinations, long[] listenerBusyStateArray, Object cbData, int[] iNextIndex)
 calculate next load balancing peer handler implementation More...
 
int jniBalPopulateCB (String profile, Object cbData)
 populate balancer peers handler implementation More...
 
int jniEvtPopulateCB (String profile, Object cbData)
 populate event receiver list handler implementation More...
 
boolean jniBalPeerRegistrationCB (boolean bSubscribe, String sIP, String sPort, Object cbData)
 register balancing peer handler implementation More...
 
boolean jniEvtPeerRegistrationCB (boolean bSubscribe, String sIP, String sPort, Object cbData)
 register event consumer handler implementation More...
 
void jniEvtErrorCB (String profile, String sIP, String sPort, int iCmdID, int iError, Object cbData)
 register event error handler implementation More...
 
void jniEvtQueueOverflowCB (String sProfile, int iCmdID, Object cbData)
 register event overflow handler implementation More...
 
 TMLProfile (String profile, TMLCore core) throws TmlSidexException
 constructs a TMLProfile More...
 
long getCHandle ()
 get low lwvwl TML core Handle More...
 
String getProfileUrl ()
 get profile id More...
 
void registerCmd (int iCmdID, TMLCmdDispatchIF cbInstance, Object pCBData) throws TmlSidexException
 register command handler More...
 
void registerCustomDispatch (TMLCustomDispatchIF cbInstance, Object pCBData) throws TmlSidexException
 register a general command handler More...
 
void registerCmdDeleteHandler (TMLCmdDeleteIF cbInstance, Object pCBData) throws TmlSidexException
 register delete command handler More...
 
void sendAsyncMessage (String sIP, String sPort, TMLCmd cmd, long timeout) throws TmlSidexException
 send an asynchronous message More...
 
void sendSyncMessage (String sIP, String sPort, TMLCmd cmd, long timeout) throws TmlSidexException
 send a synchronous message More...
 
void sendEventMessage (TMLCmd cmd) throws TmlSidexException
 send an event to all registered event consumers More...
 
void sendEventConsumerSubscription (String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 send an event subscription request More...
 
void sendEventConsumerUnsubscription (String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 unregister an event message receiver More...
 
void sendBalancedAsyncMessage (TMLCmd cmd, long iTimeout) throws TmlSidexException
 send a load balanced asynchronous message More...
 
void sendBalancedReceiverSubscription (String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 send a load balancing subscription request More...
 
void sendBalancedSyncMessage (TMLCmd cmd, long iTimeout) throws TmlSidexException
 send a load balanced synchronous message More...
 
void sendBalancedReceiverUnsubscription (String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 unregister a load balancing command receiver More...
 
void addEventConsumer (String sIP, String sPort) throws TmlSidexException
 add event consumer More...
 
void clearEventConsumer () throws TmlSidexException
 clear event consumer list More...
 
void removeEventConsumer (String sIP, String sPort) throws TmlSidexException
 remove event consumer More...
 
void addBalanceReceiver (String sIP, String sPort) throws TmlSidexException
 add command receiver for load balancing More...
 
void clearBalanceReceiver () throws TmlSidexException
 clear load balanced command receiver list More...
 
void removeBalanceReceiver (String sIP, String sPort) throws TmlSidexException
 remove load balancing command receiver More...
 
void registerEvtErrorHandler (TMLEvtErrorHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register event error handler More...
 
void registerEvtPeerHandler (TMLEvtPeerRegisterHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register an event subscription request handler More...
 
void registerEvtPopulateHandler (TMLEvtPopulateHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register on populate handler (events) More...
 
void registerEvtQueueOverflowHandler (TMLEvtQueueOverflowHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register event queue overflow handler More...
 
void registerBalBusyStatusRequestHandler (TMLBalBusyStatusRequestHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register balancer busy status request handler More...
 
void registerBalCalculationHandler (TMLBalCalculationHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register load balancing calculation handler More...
 
void registerBalPeerHandler (TMLBalPeerRegisterHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register load balancing subscription request handler More...
 
void registerBalPopulateHandler (TMLBalPopulateHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register on populate handler (balancer) More...
 
void registerCmdReady (TMLCmdReadyIF cbInstance, Object pCBData) throws TmlSidexException
 register command ready handler More...
 
void registerCmdProgressReply (TMLCmdProgressReplyIF cbInstance, Object pCBData) throws TmlSidexException
 register progress reply handler More...
 
void registerCmdStatusReply (TMLCmdStatusReplyIF cbInstance, Object pCBData) throws TmlSidexException
 register status reply handler More...
 
void registeredCmdReady (TMLCmdReadyIF[] cbInstance, Object[] pCBData) throws TmlSidexException
 get registered command ready handler and custom data More...
 
void registeredCmdProgressReply (TMLCmdProgressReplyIF[] cbInstance, Object[] pCBData) throws TmlSidexException
 get registered progress reply handler and custom data More...
 
void registeredCmdStatusReply (TMLCmdStatusReplyIF[] cbInstance, Object[] pCBData) throws TmlSidexException
 get registered status reply handler and custom data More...
 

Protected Member Functions

void finalize () throws Throwable
 destructor More...
 

Additional Inherited Members

- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniCmdDispatchIF
static final String CB_NAME = "jniCmdDispatchCB"
 command dispatch handler More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniCustomDispatchIF
static final String CB_NAME = "jniCustomDispatchCB"
 command custom dispatch handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniCmdDeleteIF
static final String CB_NAME = "jniCmdDeleteHandlerCB"
 command delete handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniBalBusyStatusRequestHandlerIF
static final String CB_NAME = "jniBalBusyStatusRequestCB"
 busy status request handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniBalCalculationHandlerIF
static final String CB_NAME = "jniBalCalculateNextReceiverCB"
 calculate next peer index for balancing handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniBalPopulateHandlerIF
static final String CB_NAME = "jniBalPopulateCB"
 on populate command receiver list handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniBalPeerRegisterHandlerIF
static final String CB_NAME = "jniBalPeerRegistrationCB"
 registration of a balancer subscription / unsubscription request handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniEvtPopulateHandlerIF
static final String CB_NAME = "jniEvtPopulateCB"
 populate event consumer list handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniEvtPeerRegisterHandlerIF
static final String CB_NAME = "jniEvtPeerRegistrationCB"
 event subscription / unsubscription request handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniEvtErrorHandlerIF
static final String CB_NAME = "jniEvtErrorCB"
 event error handler More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniEvtQueueOverflowHandlerIF
static final String CB_NAME = "jniEvtQueueOverflowCB"
 event queue overflow handler method name More...
 

Detailed Description

TML Profile.

Profiles represent different TML interfaces.