org.globus.net
Class WrappedSocket
java.lang.Object
java.net.Socket
org.globus.net.WrappedSocket
- Direct Known Subclasses:
- GssSocket
- public class WrappedSocket
- extends Socket
Methods inherited from class java.net.Socket |
bind, connect, connect, getChannel, getLocalSocketAddress, getOOBInline, getRemoteSocketAddress, getReuseAddress, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setReuseAddress, setSocketImplFactory, setTrafficClass |
socket
protected Socket socket
WrappedSocket
protected WrappedSocket()
WrappedSocket
public WrappedSocket(Socket socket)
getWrappedSocket
public Socket getWrappedSocket()
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
getInetAddress
public InetAddress getInetAddress()
getKeepAlive
public boolean getKeepAlive()
throws SocketException
- Throws:
SocketException
getLocalAddress
public InetAddress getLocalAddress()
getLocalPort
public int getLocalPort()
getPort
public int getPort()
getReceiveBufferSize
public int getReceiveBufferSize()
throws SocketException
- Throws:
SocketException
getSendBufferSize
public int getSendBufferSize()
throws SocketException
- Throws:
SocketException
getSoLinger
public int getSoLinger()
throws SocketException
- Throws:
SocketException
getSoTimeout
public int getSoTimeout()
throws SocketException
- Throws:
SocketException
getTcpNoDelay
public boolean getTcpNoDelay()
throws SocketException
- Throws:
SocketException
setKeepAlive
public void setKeepAlive(boolean on)
throws SocketException
- Throws:
SocketException
setReceiveBufferSize
public void setReceiveBufferSize(int size)
throws SocketException
- Throws:
SocketException
setSendBufferSize
public void setSendBufferSize(int size)
throws SocketException
- Throws:
SocketException
setSoLinger
public void setSoLinger(boolean on,
int linger)
throws SocketException
- Throws:
SocketException
setSoTimeout
public void setSoTimeout(int timeout)
throws SocketException
- Throws:
SocketException
setTcpNoDelay
public void setTcpNoDelay(boolean on)
throws SocketException
- Throws:
SocketException
shutdownInput
public void shutdownInput()
throws IOException
- Throws:
IOException
shutdownOutput
public void shutdownOutput()
throws IOException
- Throws:
IOException
toString
public String toString()