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

Public Member Functions

String tml_Core_Get_Copyright ()
 get copyright information More...
 
String tml_Core_Get_Version (int[] iApiVer, int[] iLibVer)
 get interface api and library version More...
 
void tml_Core_Set_Password (String pUserName, String pPassWord) throws TmlSidexException
 get the license key More...
 
void tml_Core_Set_LoggingValue (long coreHandle, int iLogValue) throws TmlSidexException
 set debug log value More...
 
int tml_Core_Get_LoggingValue (long coreHandle) throws TmlSidexException
 get debug log value More...
 
void tml_Core_Close (long coreHandle) throws TmlSidexException
 release a TML core handle More...
 
void tml_Core_GeneralDeregistration (long coreHandle) throws TmlSidexException
 clear registration of all callback functions More...
 
long tml_Core_Open (int iLogValue) throws TmlSidexException
 open a new TML core handle More...
 
boolean tml_Core_Get_ListenerEnabled (long coreHandle) throws TmlSidexException
 get listener status More...
 
String tml_Core_Get_ListenerIP (long coreHandle) throws TmlSidexException
 get the listener interface (IP) More...
 
String tml_Core_Get_ListenerPort (long coreHandle) throws TmlSidexException
 get listener port number More...
 
void tml_Core_Set_ListenerEnabled (long coreHandle, boolean bEnable) throws TmlSidexException
 enable or disable TML listener More...
 
void tml_Core_Set_ListenerIP (long coreHandle, String sIP) throws TmlSidexException
 set the listener interface (IP) More...
 
void tml_Core_Set_ListenerPort (long coreHandle, String sPort) throws TmlSidexException
 set listener port More...
 
long tml_Profile_Get_Registered (long coreHandle) throws TmlSidexException
 get a list of registered profile names More...
 
int tml_Profile_Get_Registered_Count (long coreHandle) throws TmlSidexException
 get the number of registered profiles More...
 
boolean tml_Profile_Get_RegisterState (long coreHandle, String profile) throws TmlSidexException
 check if a profile name is already registered More...
 
void tml_Profile_Register (long coreHandle, String profile) throws TmlSidexException
 register a profile More...
 
void tml_Profile_Register_Cmd (long coreHandle, String profile, int iCmdID, TmlJniCmdDispatchIF cbInstance, Object cbData) throws TmlSidexException
 register a command handler More...
 
void tml_Profile_Set_OnCustomDispatch (long coreHandle, String profile, TmlJniCustomDispatchIF cbInstance, Object cbData) throws TmlSidexException
 register a general command handler More...
 
void tml_Profile_Set_OnDeleteCmd (long coreHandle, String profile, TmlJniCmdDeleteIF cbInstance, Object cbData) throws TmlSidexException
 register a callback to release custom data assigned to a command handler More...
 
void tml_Profile_Unregister (long coreHandle, String profile) throws TmlSidexException
 deregister a profile More...
 
void tml_Send_AsyncMessage (long coreHandle, long cmdHandle, String sProfile, String sIP, String sPort, long timeout) throws TmlSidexException
 send an asynchronous message More...
 
void tml_Send_AsyncProgressReply (long cmdHandle, int progress) throws TmlSidexException
 send a progress reply to the caller More...
 
void tml_Send_AsyncStatusReply (long cmdHandle, int rType, String rMsg) throws TmlSidexException
 send a status reply to the caller More...
 
void tml_Send_SyncMessage (long coreHandle, long cmdHandle, String sProfile, String sIP, String sPort, long timeout) throws TmlSidexException
 send a synchronous message More...
 
int tml_Evt_Get_MaxConnectionFailCount (long coreHandle) throws TmlSidexException
 get maximum event connection fail count More...
 
int tml_Evt_Get_MaxQueuedEventMessages (long coreHandle) throws TmlSidexException
 get the maximum number of queued event More...
 
long tml_Evt_Get_Subscribed_MessageDestinations (long coreHandle, String sProfile) throws TmlSidexException
 get event receiver list More...
 
void tml_Evt_Send_Message (long coreHandle, long cmdHandle, String sProfile) throws TmlSidexException
 send an event to all registered receivers More...
 
void tml_Evt_Send_SubscriptionRequest (long coreHandle, String sProfile, String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 send an event subscription request More...
 
void tml_Evt_Send_UnsubscriptionRequest (long coreHandle, String sProfile, String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 unsubscribe a peer from receiving events More...
 
void tml_Evt_Set_MaxConnectionFailCount (long coreHandle, int iCount) throws TmlSidexException
 set the maximum event connection fail count More...
 
void tml_Evt_Set_MaxQueuedEventMessages (long coreHandle, int iMaximum) throws TmlSidexException
 set the maximum number of queued events. More...
 
void tml_Evt_Set_OnError (long coreHandle, String profile, TmlJniEvtErrorHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register an event error handler More...
 
void tml_Evt_Set_OnPeerRegister (long coreHandle, String profile, TmlJniEvtPeerRegisterHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register a handler for event subscription requests More...
 
void tml_Evt_Set_OnPopulate (long coreHandle, String profile, TmlJniEvtPopulateHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register on populate handler (events). More...
 
void tml_Evt_Set_OnQueueOverflow (long coreHandle, String profile, TmlJniEvtQueueOverflowHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register an event queue overflow handler More...
 
void tml_Evt_Subscribe_MessageDestination (long coreHandle, String sProfile, String sIP, String sPort) throws TmlSidexException
 subscribe event receiver More...
 
void tml_Evt_Unsubscribe_All_MessageDestinations (long coreHandle, String sProfile) throws TmlSidexException
 unsubscribe all event receivers More...
 
void tml_Evt_Unsubscribe_MessageDestination (long coreHandle, String sProfile, String sIP, String sPort) throws TmlSidexException
 unsubscribe event receiver More...
 
int tml_Bal_Get_MaxConnectionFailCount (long coreHandle) throws TmlSidexException
 get the maximum load balancing connection fail count More...
 
long tml_Bal_Get_Subscribed_MessageDestinations (long coreHandle, String sProfile) throws TmlSidexException
 get load balanced command receiver list More...
 
void tml_Bal_Send_AsyncMessage (long coreHandle, long cmdHandle, String sProfile, long iTimeout) throws TmlSidexException
 send a load balanced asynchronous message More...
 
void tml_Bal_Send_SubscriptionRequest (long coreHandle, String sProfile, String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 send a load balancing subscription request More...
 
void tml_Bal_Send_SyncMessage (long coreHandle, long cmdHandle, String sProfile, long iTimeout) throws TmlSidexException
 send a load balanced synchronous message More...
 
void tml_Bal_Send_UnsubscriptionRequest (long coreHandle, String sProfile, String sSourceHost, String sSourcePort, String sDestHost, String sDestPort, long timeout) throws TmlSidexException
 unregister a load balancing message receiver. More...
 
void tml_Bal_Set_MaxConnectionFailCount (long coreHandle, int iCount) throws TmlSidexException
 set the maximum load balancing connection fail count More...
 
void tml_Bal_Set_OnBusyStatusRequest (long coreHandle, String profile, TmlJniBalBusyStatusRequestHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register a busy status request handler More...
 
void tml_Bal_Set_OnCalculation (long coreHandle, String profile, TmlJniBalCalculationHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register load balancing calculation handler More...
 
void tml_Bal_Set_OnPeerRegister (long coreHandle, String profile, TmlJniBalPeerRegisterHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register handler for load balancing subscription requests More...
 
void tml_Bal_Set_OnPopulate (long coreHandle, String profile, TmlJniBalPopulateHandlerIF cbInstance, Object cbData) throws TmlSidexException
 register on populate handler (balancer) More...
 
void tml_Bal_Subscribe_MessageDestination (long coreHandle, String sProfile, String sIP, String sPort) throws TmlSidexException
 add a command receiver for load balanced calls More...
 
void tml_Bal_Unsubscribe_All_MessageDestinations (long coreHandle, String sProfile) throws TmlSidexException
 clear command receiver list More...
 
void tml_Bal_Unsubscribe_MessageDestination (long coreHandle, String sProfile, String sIP, String sPort) throws TmlSidexException
 unsubscribe a command receiver More...
 
void tml_RecStream_Close (long coreHandle, long iID, boolean bRetainOpen) throws TmlSidexException
 close a receiver stream More...
 
void tml_RecStream_DownloadData (long coreHandle, long iID, int buffersize, TmlJniRecStreamDldBlockHandlerIF cbInstanceDld, Object pCBDataDld, TmlJniRecStreamDldFinishHandlerIF cbInstanceDldFinish, Object pCBDataFinish) throws TmlSidexException
 start a full download of a stream More...
 
long tml_RecStream_GetPosition (long coreHandle, long iID) throws TmlSidexException
 get stream position More...
 
long tml_RecStream_GetSize (long coreHandle, long iID) throws TmlSidexException
 get stream size in bytes More...
 
void tml_RecStream_Open (long coreHandle, long iID, String sProfile, String sIP, String sPort) throws TmlSidexException
 open a receiver stream More...
 
int tml_RecStream_Read (long coreHandle, long iID, ByteBuffer buffer, int count) throws TmlSidexException
 read a buffer from the stream More...
 
void tml_RecStream_ReadBuffer (long coreHandle, long iID, ByteBuffer buffer, int count) throws TmlSidexException
 read a buffer from the stream More...
 
void tml_RecStream_Seek (long coreHandle, long iID, long seekPos, int origin) throws TmlSidexException
 move to stream position (seek) More...
 
void tml_RecStream_Write (long coreHandle, long iID, byte[] buffer, int count) throws TmlSidexException
 write data to a stream More...
 
void tml_SndStream_Close (long coreHandle, long iID) throws TmlSidexException
 close a sender stream More...
 
long tml_SndStream_Open (long coreHandle, String sProfile, String sIP, String sPort) throws TmlSidexException
 open a sender stream More...
 
void tml_SndStream_Register_Close (long coreHandle, long iID, TmlJniSndStreamCloseHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register close stream handler More...
 
void tml_SndStream_Register_GetPosition (long coreHandle, long iID, TmlJniSndStreamGetPositionHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register get position handler More...
 
void tml_SndStream_Register_GetSize (long coreHandle, long iID, TmlJniSndStreamGetSizeHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register get stream size handler More...
 
void tml_SndStream_Register_OnError (long coreHandle, long iID, TmlJniSndStreamErrorHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register streaming error handler More...
 
void tml_SndStream_Register_Read (long coreHandle, long iID, TmlJniSndStreamReadHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register read stream handler More...
 
void tml_SndStream_Register_Seek (long coreHandle, long iID, TmlJniSndStreamSeekHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register seek stream handler More...
 
void tml_SndStream_Register_Write (long coreHandle, long iID, TmlJniSndStreamWriteHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register write stream handler More...
 
long tml_Cmd_Acquire_Sidex_Handle (long cmdHandle) throws TmlSidexException
 acquire command data (SIDEX_HANDLE) More...
 
long tml_Cmd_Create () throws TmlSidexException
 create a TML command. More...
 
void tml_Cmd_Free (long cmdHandle) throws TmlSidexException
 release TML command handle More...
 
void tml_Cmd_Release_Sidex_Handle (long cmdHandle) throws TmlSidexException
 release TML command data lock More...
 
void tml_Cmd_Register_CommandReady (long cmdHandle, TmlJniCmdReadyIF cbInstance, Object pCBData) throws TmlSidexException
 register command ready handler More...
 
void tml_Cmd_Register_Progress (long cmdHandle, TmlJniCmdProgressReplyIF cbInstance, Object pCBData) throws TmlSidexException
 register a progress reply handler More...
 
void tml_Cmd_Register_StatusReply (long cmdHandle, TmlJniCmdStatusReplyIF cbInstance, Object pCBData) throws TmlSidexException
 register a status reply handler More...
 
void tml_Cmd_Registered_CommandReady (long cmdHandle, Object[] cbInstance, Object[] pCBData) throws TmlSidexException
 get registered command ready handler and custom data More...
 
void tml_Cmd_Registered_Progress (long cmdHandle, Object[] cbInstance, Object[] pCBData) throws TmlSidexException
 get registered progress reply handler and custom data More...
 
void tml_Cmd_Registered_StatusReply (long cmdHandle, Object[] cbInstance, Object[] pCBData) throws TmlSidexException
 get registered status reply handler and custom data More...
 
int tml_Cmd_Header_GetCommand (long cmdHandle) throws TmlSidexException
 get command id More...
 
String tml_Cmd_Header_GetCreationTime (long cmdHandle) throws TmlSidexException
 get command creation time More...
 
int tml_Cmd_Header_GetError (long cmdHandle) throws TmlSidexException
 get the error code More...
 
String tml_Cmd_Header_GetErrorMessage (long cmdHandle) throws TmlSidexException
 get the error message More...
 
int tml_Cmd_Header_GetMode (long cmdHandle) throws TmlSidexException
 get execution mode More...
 
int tml_Cmd_Header_GetProgress (long cmdHandle) throws TmlSidexException
 get progress More...
 
String tml_Cmd_Header_GetReplyMessage (long cmdHandle) throws TmlSidexException
 get status reply message More...
 
int tml_Cmd_Header_GetReplyType (long cmdHandle) throws TmlSidexException
 get reply type More...
 
int tml_Cmd_Header_GetState (long cmdHandle) throws TmlSidexException
 get execution state More...
 
void tml_Cmd_Header_SetCommand (long cmdHandle, int cmdID) throws TmlSidexException
 set command id More...
 
void tml_Cmd_Header_SetError (long cmdHandle, int error) throws TmlSidexException
 get the error code More...
 
void tml_Cmd_Header_SetErrorMessage (long cmdHandle, String msg) throws TmlSidexException
 set the error message More...
 
void tml_Cmd_Header_SetMode (long cmdHandle, int mode) throws TmlSidexException
 set execution mode More...
 
void tml_Cmd_Header_SetProgress (long cmdHandle, int progress) throws TmlSidexException
 set progress More...
 
void tml_Cmd_Header_SetReplyMessage (long cmdHandle, String msg) throws TmlSidexException
 set status reply message More...
 
void tml_Cmd_Header_SetReplyType (long cmdHandle, int type) throws TmlSidexException
 set reply type More...
 
void tml_Cmd_Header_SetState (long cmdHandle, int state) throws TmlSidexException
 set execution state More...
 

Detailed Description

Native TML API functions.