public class TCPObjectSocket extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
TCPObjectSocket(Socket socket,
FSTConfiguration conf) |
TCPObjectSocket(String host,
int port) |
TCPObjectSocket(String host,
int port,
FSTConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
Exception |
getLastErr() |
Socket |
getSocket() |
boolean |
isStopped() |
Object |
readObject() |
void |
setLastError(Exception ex) |
void |
writeObject(Object toWrite) |
public TCPObjectSocket(String host, int port) throws IOException
IOExceptionpublic TCPObjectSocket(String host, int port, FSTConfiguration conf) throws IOException
IOExceptionpublic TCPObjectSocket(Socket socket, FSTConfiguration conf) throws IOException
IOExceptionpublic Exception getLastErr()
public boolean isStopped()
public void flush()
throws IOException
IOExceptionpublic void setLastError(Exception ex)
public void close()
throws IOException
IOExceptionpublic Socket getSocket()
Copyright © 2014. All rights reserved.