cgl.hhms.hhfr
Class StreamConnectionClient
java.lang.Object
cgl.hhms.hhfr.StreamConnectionClient
- All Implemented Interfaces:
- StreamConnector
- public class StreamConnectionClient
- extends java.lang.Object
- implements StreamConnector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
streamer
protected Streamer streamer
sender
protected StreamWriter sender
receiver
protected StreamReader receiver
StreamConnectionClient
public StreamConnectionClient(HHFRHandler _hhfrhandler,
java.lang.String _url)
throws HHFRException
getDebug
public boolean getDebug()
- Specified by:
getDebug in interface StreamConnector
sendData
public void sendData(byte[] data)
- The method used to send data over a communication link
- Specified by:
sendData in interface StreamConnector
receiveData
public void receiveData(byte[] data)
- Specified by:
receiveData in interface StreamConnector
setLinkId
public void setLinkId(java.lang.String linkId)
getStreamer
public Streamer getStreamer()
- Specified by:
getStreamer in interface StreamConnector
closeLink
public void closeLink()
- Garbage collect resources associated with this link. Sockets need to
be closed and any resources associated with communication, needs to be
garbage collected
- Specified by:
closeLink in interface StreamConnector