D
- type of data this socket sends and receivespublic class PersistSocketDataPipe<D extends java.io.Serializable> extends SocketDataPipe<D>
Constructor and Description |
---|
PersistSocketDataPipe(int port) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this data pipe.
|
void |
sendData(java.util.List<D> data_list,
java.lang.String ip_address)
Send data_list to a specified IP address.
|
initReceiver
addDataReceivedListener, sendData, sendData, sendData, sendDataThreaded, sendDataThreaded, setConnectExceptionListener, setExceptionListener, setReceiveExceptionListener, setReceiverDaemon, setSendExceptionListener
public void close()
SocketDataPipe
close
in class SocketDataPipe<D extends java.io.Serializable>
public void sendData(java.util.List<D> data_list, java.lang.String ip_address)
SocketDataPipe
sendData
in class SocketDataPipe<D extends java.io.Serializable>
data_list
- the list of data to send.ip_address
- the destination IP address.