com.go.trove.net
Class FilteredSocket

java.lang.Object
  |
  +--java.net.Socket
        |
        +--com.go.trove.net.FilteredSocket
Direct Known Subclasses:
BufferedSocket, CheckedSocket

public class FilteredSocket
extends java.net.Socket

A Socket wrapper that passes all calls to an internal Socket. This class is designed for subclasses to override or hook into the behavior of a Socket instance.

Version:
5 , 00/12/05
Author:
Brian S O'Neill

Field Summary
protected  java.net.Socket mSocket
           
 
Constructor Summary
FilteredSocket(java.net.Socket socket)
           
 
Methods inherited from class java.net.Socket
close, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getOutputStream, getPort, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, setKeepAlive, setReceiveBufferSize, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, shutdownInput, shutdownOutput, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mSocket

protected final java.net.Socket mSocket
Constructor Detail

FilteredSocket

public FilteredSocket(java.net.Socket socket)
               throws java.net.SocketException