wt.boot
Class WTRMIURLSocketFactory.URLSocket
java.lang.Object
java.net.Socket
wt.boot.WTRMIURLSocketFactory.URLSocket
- All Implemented Interfaces:
- sun.rmi.transport.proxy.RMISocketInfo
- Enclosing class:
- WTRMIURLSocketFactory
- static class WTRMIURLSocketFactory.URLSocket
- extends Socket
- implements sun.rmi.transport.proxy.RMISocketInfo
Fields inherited from class java.net.Socket |
|
Methods inherited from class java.net.Socket |
bind, connect, connect, getChannel, getKeepAlive, getLocalSocketAddress, getOOBInline, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setTrafficClass, shutdownInput, shutdownOutput |
host
protected String host
port
protected int port
url
protected URL url
conn
protected URLConnection conn
input
protected WTRMIURLSocketFactory.URLSocket.Input input
output
protected WTRMIURLSocketFactory.URLSocket.Output output
logLevel
private int logLevel
WTRMIURLSocketFactory.URLSocket
WTRMIURLSocketFactory.URLSocket(String host,
int port,
URL url,
int logLevel)
throws IOException
isReusable
public boolean isReusable()
- Specified by:
isReusable
in interface sun.rmi.transport.proxy.RMISocketInfo
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Throws:
IOException
openInputStream
public InputStream openInputStream()
throws IOException
- Throws:
IOException
getInetAddress
public InetAddress getInetAddress()
getLocalAddress
public InetAddress getLocalAddress()
getPort
public int getPort()
getLocalPort
public int getLocalPort()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
setTcpNoDelay
public void setTcpNoDelay(boolean on)
throws SocketException
- Throws:
SocketException
getTcpNoDelay
public boolean getTcpNoDelay()
throws SocketException
- Throws:
SocketException
setSoLinger
public void setSoLinger(boolean on,
int val)
throws SocketException
- Throws:
SocketException
getSoLinger
public int getSoLinger()
throws SocketException
- Throws:
SocketException
setSoTimeout
public void setSoTimeout(int timeout)
throws SocketException
- Throws:
SocketException
getSoTimeout
public int getSoTimeout()
throws SocketException
- Throws:
SocketException
close
public void close()
throws IOException
- Throws:
IOException
toString
public String toString()