TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
Functions
Stream communication

Using TML streams. More...

Functions

void com.tmlsidex.jni.Tml.tml_RecStream_Close (long coreHandle, long iID, boolean bRetainOpen) throws TmlSidexException
 close a receiver stream More...
 
void com.tmlsidex.jni.Tml.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 com.tmlsidex.jni.Tml.tml_RecStream_GetPosition (long coreHandle, long iID) throws TmlSidexException
 get stream position More...
 
long com.tmlsidex.jni.Tml.tml_RecStream_GetSize (long coreHandle, long iID) throws TmlSidexException
 get stream size in bytes More...
 
void com.tmlsidex.jni.Tml.tml_RecStream_Open (long coreHandle, long iID, String sProfile, String sIP, String sPort) throws TmlSidexException
 open a receiver stream More...
 
int com.tmlsidex.jni.Tml.tml_RecStream_Read (long coreHandle, long iID, ByteBuffer buffer, int count) throws TmlSidexException
 read a buffer from the stream More...
 
void com.tmlsidex.jni.Tml.tml_RecStream_ReadBuffer (long coreHandle, long iID, ByteBuffer buffer, int count) throws TmlSidexException
 read a buffer from the stream More...
 
void com.tmlsidex.jni.Tml.tml_RecStream_Seek (long coreHandle, long iID, long seekPos, int origin) throws TmlSidexException
 move to stream position (seek) More...
 
void com.tmlsidex.jni.Tml.tml_RecStream_Write (long coreHandle, long iID, byte[] buffer, int count) throws TmlSidexException
 write data to a stream More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Close (long coreHandle, long iID) throws TmlSidexException
 close a sender stream More...
 
long com.tmlsidex.jni.Tml.tml_SndStream_Open (long coreHandle, String sProfile, String sIP, String sPort) throws TmlSidexException
 open a sender stream More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_Close (long coreHandle, long iID, TmlJniSndStreamCloseHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register close stream handler More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_GetPosition (long coreHandle, long iID, TmlJniSndStreamGetPositionHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register get position handler More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_GetSize (long coreHandle, long iID, TmlJniSndStreamGetSizeHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register get stream size handler More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_OnError (long coreHandle, long iID, TmlJniSndStreamErrorHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register streaming error handler More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_Read (long coreHandle, long iID, TmlJniSndStreamReadHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register read stream handler More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_Seek (long coreHandle, long iID, TmlJniSndStreamSeekHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register seek stream handler More...
 
void com.tmlsidex.jni.Tml.tml_SndStream_Register_Write (long coreHandle, long iID, TmlJniSndStreamWriteHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register write stream handler More...
 

Detailed Description

Using TML streams.

The stream API enables TML to transfer files without using another port or protocol.