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

java.lang.Object
  extended by java.net.ServerSocket
      extended by com.ibm.di.api.remote.impl.rmi.ServerSocketWrapper

public class ServerSocketWrapper
extends ServerSocket


Constructor Summary
ServerSocketWrapper(ServerSocket aServer)
           
 
Method Summary
 Socket accept()
           
 void bind(SocketAddress aEndpoint)
           
 void bind(SocketAddress aEndpoint, int aBacklog)
           
 void close()
           
 ServerSocketChannel getChannel()
           
 InetAddress getInetAddress()
           
 int getLocalPort()
           
 SocketAddress getLocalSocketAddress()
           
 int getReceiveBufferSize()
           
 boolean getReuseAddress()
           
 int getSoTimeout()
           
 boolean isBound()
           
 boolean isClosed()
           
 void setReceiveBufferSize(int aSize)
           
 void setReuseAddress(boolean aOn)
           
 void setSoTimeout(int aTimeout)
           
 String toString()
           
 
Methods inherited from class java.net.ServerSocket
implAccept, setPerformancePreferences, setSocketFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerSocketWrapper

public ServerSocketWrapper(ServerSocket aServer)
                    throws IOException
Throws:
IOException
Method Detail

bind

public void bind(SocketAddress aEndpoint)
          throws IOException
Overrides:
bind in class ServerSocket
Throws:
IOException

bind

public void bind(SocketAddress aEndpoint,
                 int aBacklog)
          throws IOException
Overrides:
bind in class ServerSocket
Throws:
IOException

getInetAddress

public InetAddress getInetAddress()
Overrides:
getInetAddress in class ServerSocket

getLocalPort

public int getLocalPort()
Overrides:
getLocalPort in class ServerSocket

getLocalSocketAddress

public SocketAddress getLocalSocketAddress()
Overrides:
getLocalSocketAddress in class ServerSocket

accept

public Socket accept()
              throws IOException
Overrides:
accept in class ServerSocket
Throws:
IOException

close

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

getChannel

public ServerSocketChannel getChannel()
Overrides:
getChannel in class ServerSocket

isBound

public boolean isBound()
Overrides:
isBound in class ServerSocket

isClosed

public boolean isClosed()
Overrides:
isClosed in class ServerSocket

setSoTimeout

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

getSoTimeout

public int getSoTimeout()
                 throws IOException
Overrides:
getSoTimeout in class ServerSocket
Throws:
IOException

setReuseAddress

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

getReuseAddress

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

toString

public String toString()
Overrides:
toString in class ServerSocket

setReceiveBufferSize

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

getReceiveBufferSize

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