kaos.core.service.transport.tcp
Interface CommClient
- All Known Implementing Classes:
- FlexfeedCommClient, TCPCommClient
public interface CommClient
Method Summary |
void |
close()
Closes any open connections. |
void |
init(java.lang.String host,
int port)
|
void |
SendObject(java.io.Serializable obj)
Sends the specified Serializable object across the ObjectOutputStream. |
init
void init(java.lang.String host,
int port)
throws TransportFailure
- Throws:
TransportFailure
close
void close()
- Closes any open connections.
SendObject
void SendObject(java.io.Serializable obj)
throws TransportFailure
- Sends the specified Serializable object across the ObjectOutputStream.
- Parameters:
serializable
- object to send
- Throws:
TransportFailure