ewe.net
Class SocketBase
java.lang.Object
ewe.util.Errorable
ewe.io.BasicStreamObject
ewe.io.StreamObject
ewe.net.SocketBase
- All Implemented Interfaces:
- BasicStream, Stream, Streamable
- Direct Known Subclasses:
- Socket
- public abstract class SocketBase
- extends StreamObject
| Methods inherited from class ewe.io.StreamObject |
close, closeStream, doRead, doWrite, flush, isOpen, nap, nap, nonBlockingRead, nonBlockingWrite, read, readAByte, readBytes, readBytes, write, writeAByte, writeBytes, writeBytes |
remoteHost
public Object remoteHost
remotePort
public int remotePort
inputStream
protected InputStream inputStream
outputStream
protected OutputStream outputStream
inputIsShutdown
protected boolean inputIsShutdown
outputIsShutdown
protected boolean outputIsShutdown
SocketBase
public SocketBase()
getSocketParameter
protected abstract int getSocketParameter(int whichParameter)
throws SocketException
- Throws:
SocketException
setSocketParameter
protected abstract int setSocketParameter(int whichParameter,
boolean booleanValue,
int intValue)
throws SocketException
- Throws:
SocketException
shutdownOutput
public void shutdownOutput()
throws IOException
- Throws:
IOException
shutdownInput
public void shutdownInput()
throws IOException
- Throws:
IOException
getSoLinger
public int getSoLinger()
throws SocketException
- Throws:
SocketException
setSoLinger
public void setSoLinger(boolean on,
int val)
throws SocketException
- Throws:
SocketException
getTcpNoDelay
public boolean getTcpNoDelay()
throws SocketException
- Throws:
SocketException
setTcpNoDelay
public void setTcpNoDelay(boolean on)
throws SocketException
- Throws:
SocketException
getKeepAlive
public boolean getKeepAlive()
throws SocketException
- Throws:
SocketException
setKeepAlive
public void setKeepAlive(boolean on)
throws SocketException
- Throws:
SocketException
getReceiveBufferSize
public int getReceiveBufferSize()
throws SocketException
- Throws:
SocketException
getSendBufferSize
public int getSendBufferSize()
throws SocketException
- Throws:
SocketException
setReceiveBufferSize
public void setReceiveBufferSize(int value)
throws SocketException
- Throws:
SocketException
setSendBufferSize
public void setSendBufferSize(int value)
throws SocketException
- Throws:
SocketException