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.TMLSndStream Class Reference

TML stream sender. More...

Inheritance diagram for com.tmlsidex.tml.TMLSndStream:
com.tmlsidex.jni.TmlJniSndStreamIF com.tmlsidex.jni.TmlJniSndStreamGetPositionHandlerIF com.tmlsidex.jni.TmlJniSndStreamGetSizeHandlerIF com.tmlsidex.jni.TmlJniSndStreamReadHandlerIF com.tmlsidex.jni.TmlJniSndStreamSeekHandlerIF com.tmlsidex.jni.TmlJniSndStreamWriteHandlerIF com.tmlsidex.jni.TmlJniSndStreamErrorHandlerIF com.tmlsidex.jni.TmlJniSndStreamCloseHandlerIF

Public Member Functions

void jniSndStreamCloseCB (long strID, Object cbData)
 stream close handler implementation More...
 
void tmlSndStreamErrorCB (long strID, int iError, Object cbData)
 stream error handler implementation More...
 
long tmlSndStreamGetPositionCB (long strID, Object cbData)
 get stream position handler implementation More...
 
long tmlSndStreamGetSizeCB (long strID, Object cbData)
 get stream size handler implementation More...
 
int tmlSndStreamReadCB (long strID, Object cbData, byte[] buffer, int count)
 read stream handler implementation More...
 
int tmlSndStreamSeekCB (long strID, Object cbData, long seekPosition, int seekOrigin)
 seek stream handler implementation More...
 
int tmlSndStreamWriteCB (long strID, byte[] buffer, int count, Object cbData)
 write stream handler implementation More...
 
 TMLSndStream (TMLProfile profile, String sIP, String sPort) throws TmlSidexException
 constructs a TMLSndStream instance More...
 
long getStreamID ()
 get stream id More...
 
void registerCloseHandler (TMLSndStreamCloseHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register close stream handler More...
 
void registerGetPositionHandler (TMLSndStreamGetPositionHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register get stream position handler More...
 
void registerErrorHandler (TMLSndStreamErrorHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register stream error handler More...
 
void registerGetSizeHandler (TMLSndStreamGetSizeHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register get the stream size handler More...
 
void registerReadHandler (TMLSndStreamReadHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register read from stream handler More...
 
void registerSeekHandler (TMLSndStreamSeekHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register seek stream handler More...
 
void registerWriteHandler (TMLSndStreamWriteHandlerIF cbInstance, Object pCBData) throws TmlSidexException
 register write to stream handler More...
 

Protected Member Functions

void finalize () throws Throwable
 destructor More...
 

Additional Inherited Members

- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamGetPositionHandlerIF
static final String CB_NAME = "tmlSndStreamGetPositionCB"
 stream get position handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamGetSizeHandlerIF
static final String CB_NAME = "tmlSndStreamGetSizeCB"
 stream get size handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamReadHandlerIF
static final String CB_NAME = "tmlSndStreamReadCB"
 stream read handler handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamSeekHandlerIF
static final String CB_NAME = "tmlSndStreamSeekCB"
 stream seek handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamWriteHandlerIF
static final String CB_NAME = "tmlSndStreamWriteCB"
 stream write handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamErrorHandlerIF
static final String CB_NAME = "tmlSndStreamErrorCB"
 stream error handler method name More...
 
- Static Public Attributes inherited from com.tmlsidex.jni.TmlJniSndStreamCloseHandlerIF
static final String CB_NAME = "jniSndStreamCloseCB"
 stream close handler method name More...
 

Detailed Description

TML stream sender.

A sender stream provides a data stream to another peer to connect with a TMLRecStream for accessing the data.