com.ibm.di.api.remote.impl.rmi
Class SocketWrapper

java.lang.Object
  extended by java.net.Socket
      extended by com.ibm.di.api.remote.impl.rmi.SocketWrapper

public class SocketWrapper
extends Socket


Constructor Summary
SocketWrapper(Socket aSocket)
           
 
Method Summary
 void bind(SocketAddress aBindpoint)
           
 void close()
           
 void connect(SocketAddress aEndpoint)
           
 void connect(SocketAddress aEndpoint, int aTimeout)
           
 SocketChannel getChannel()
           
 InetAddress getInetAddress()
           
 InputStream getInputStream()
           
 boolean getKeepAlive()
           
 InetAddress getLocalAddress()
           
 int getLocalPort()
           
 SocketAddress getLocalSocketAddress()
           
 boolean getOOBInline()
           
 OutputStream getOutputStream()
           
 int getPort()
           
 int getReceiveBufferSize()
           
 SocketAddress getRemoteSocketAddress()
           
 boolean getReuseAddress()
           
 int getSendBufferSize()
           
 int getSoLinger()
           
 int getSoTimeout()
           
 boolean getTcpNoDelay()
           
 int getTrafficClass()
           
 boolean isBound()
           
 boolean isClosed()
           
 boolean isConnected()
           
 boolean isInputShutdown()
           
 boolean isOutputShutdown()
           
 void sendUrgentData(int aData)
           
 void setKeepAlive(boolean aOn)
           
 void setOOBInline(boolean aOn)
           
 void setReceiveBufferSize(int aSize)
           
 void setReuseAddress(boolean aOn)
           
 void setSendBufferSize(int aSize)
           
 void setSoLinger(boolean aOn, int aLinger)
           
 void setSoTimeout(int aTimeout)
           
 void setTcpNoDelay(boolean aOn)
           
 void setTrafficClass(int aTc)
           
 void shutdownInput()
           
 void shutdownOutput()
           
 String toString()
           
 
Methods inherited from class java.net.Socket
setPerformancePreferences, setSocketImplFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocketWrapper

public SocketWrapper(Socket aSocket)
Method Detail

connect

public void connect(SocketAddress aEndpoint)
             throws IOException
Overrides:
connect in class Socket
Throws:
IOException

connect

public void connect(SocketAddress aEndpoint,
                    int aTimeout)
             throws IOException
Overrides:
connect in class Socket
Throws:
IOException

bind

public void bind(SocketAddress aBindpoint)
          throws IOException
Overrides:
bind in class Socket
Throws:
IOException

getInetAddress

public InetAddress getInetAddress()
Overrides:
getInetAddress in class Socket

getLocalAddress

public InetAddress getLocalAddress()
Overrides:
getLocalAddress in class Socket

getPort

public int getPort()
Overrides:
getPort in class Socket

getLocalPort

public int getLocalPort()
Overrides:
getLocalPort in class Socket

getRemoteSocketAddress

public SocketAddress getRemoteSocketAddress()
Overrides:
getRemoteSocketAddress in class Socket

getLocalSocketAddress

public SocketAddress getLocalSocketAddress()
Overrides:
getLocalSocketAddress in class Socket

getChannel

public SocketChannel getChannel()
Overrides:
getChannel in class Socket

getInputStream

public InputStream getInputStream()
                           throws IOException
Overrides:
getInputStream in class Socket
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Overrides:
getOutputStream in class Socket
Throws:
IOException

setTcpNoDelay

public void setTcpNoDelay(boolean aOn)
                   throws SocketException
Overrides:
setTcpNoDelay in class Socket
Throws:
SocketException

getTcpNoDelay

public boolean getTcpNoDelay()
                      throws SocketException
Overrides:
getTcpNoDelay in class Socket
Throws:
SocketException

setSoLinger

public void setSoLinger(boolean aOn,
                        int aLinger)
                 throws SocketException
Overrides:
setSoLinger in class Socket
Throws:
SocketException

getSoLinger

public int getSoLinger()
                throws SocketException
Overrides:
getSoLinger in class Socket
Throws:
SocketException

sendUrgentData

public void sendUrgentData(int aData)
                    throws IOException
Overrides:
sendUrgentData in class Socket
Throws:
IOException

setOOBInline

public void setOOBInline(boolean aOn)
                  throws SocketException
Overrides:
setOOBInline in class Socket
Throws:
SocketException

getOOBInline

public boolean getOOBInline()
                     throws SocketException
Overrides:
getOOBInline in class Socket
Throws:
SocketException

setSoTimeout

public void setSoTimeout(int aTimeout)
                  throws SocketException
Overrides:
setSoTimeout in class Socket
Throws:
SocketException

getSoTimeout

public int getSoTimeout()
                 throws SocketException
Overrides:
getSoTimeout in class Socket
Throws:
SocketException

setSendBufferSize

public void setSendBufferSize(int aSize)
                       throws SocketException
Overrides:
setSendBufferSize in class Socket
Throws:
SocketException

getSendBufferSize

public int getSendBufferSize()
                      throws SocketException
Overrides:
getSendBufferSize in class Socket
Throws:
SocketException

setReceiveBufferSize

public void setReceiveBufferSize(int aSize)
                          throws SocketException
Overrides:
setReceiveBufferSize in class Socket
Throws:
SocketException

getReceiveBufferSize

public int getReceiveBufferSize()
                         throws SocketException
Overrides:
getReceiveBufferSize in class Socket
Throws:
SocketException

setKeepAlive

public void setKeepAlive(boolean aOn)
                  throws SocketException
Overrides:
setKeepAlive in class Socket
Throws:
SocketException

getKeepAlive

public boolean getKeepAlive()
                     throws SocketException
Overrides:
getKeepAlive in class Socket
Throws:
SocketException

setTrafficClass

public void setTrafficClass(int aTc)
                     throws SocketException
Overrides:
setTrafficClass in class Socket
Throws:
SocketException

getTrafficClass

public int getTrafficClass()
                    throws SocketException
Overrides:
getTrafficClass in class Socket
Throws:
SocketException

setReuseAddress

public void setReuseAddress(boolean aOn)
                     throws SocketException
Overrides:
setReuseAddress in class Socket
Throws:
SocketException

getReuseAddress

public boolean getReuseAddress()
                        throws SocketException
Overrides:
getReuseAddress in class Socket
Throws:
SocketException

close

public void close()
           throws IOException
Overrides:
close in class Socket
Throws:
IOException

shutdownInput

public void shutdownInput()
                   throws IOException
Overrides:
shutdownInput in class Socket
Throws:
IOException

shutdownOutput

public void shutdownOutput()
                    throws IOException
Overrides:
shutdownOutput in class Socket
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Socket

isConnected

public boolean isConnected()
Overrides:
isConnected in class Socket

isBound

public boolean isBound()
Overrides:
isBound in class Socket

isClosed

public boolean isClosed()
Overrides:
isClosed in class Socket

isInputShutdown

public boolean isInputShutdown()
Overrides:
isInputShutdown in class Socket

isOutputShutdown

public boolean isOutputShutdown()
Overrides:
isOutputShutdown in class Socket