wt.boot
Class WTRMIURLSocketFactory.URLSocket

java.lang.Object
  extended byjava.net.Socket
      extended bywt.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


Nested Class Summary
(package private)  class WTRMIURLSocketFactory.URLSocket.Input
           
(package private)  class WTRMIURLSocketFactory.URLSocket.Output
           
 
Field Summary
protected  URLConnection conn
           
protected  String host
           
protected  WTRMIURLSocketFactory.URLSocket.Input input
           
private  int logLevel
           
protected  WTRMIURLSocketFactory.URLSocket.Output output
           
protected  int port
           
protected  URL url
           
 
Fields inherited from class java.net.Socket
 
Constructor Summary
(package private) WTRMIURLSocketFactory.URLSocket(String host, int port, URL url, int logLevel)
           
 
Method Summary
 void close()
           
 InetAddress getInetAddress()
           
 InputStream getInputStream()
           
 InetAddress getLocalAddress()
           
 int getLocalPort()
           
 OutputStream getOutputStream()
           
 int getPort()
           
 int getSoLinger()
           
 int getSoTimeout()
           
 boolean getTcpNoDelay()
           
 boolean isReusable()
           
 InputStream openInputStream()
           
 OutputStream openOutputStream()
           
 void setSoLinger(boolean on, int val)
           
 void setSoTimeout(int timeout)
           
 void setTcpNoDelay(boolean on)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

WTRMIURLSocketFactory.URLSocket

WTRMIURLSocketFactory.URLSocket(String host,
                                int port,
                                URL url,
                                int logLevel)
                          throws IOException
Method Detail

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()