TPTP 4.5.0 Testing Tools Project
Internal API Specification

org.eclipse.tptp.test.recorders.url.runner.internal
Class PeekServerSocket

java.lang.Object
  extended by java.net.ServerSocket
      extended by org.eclipse.tptp.test.recorders.url.runner.internal.PeekServerSocket

public class PeekServerSocket
extends java.net.ServerSocket

Custom server socket that can accept Sockets of type PeekSocket.


Constructor Summary
PeekServerSocket()
           
PeekServerSocket(int port)
           
PeekServerSocket(int port, int backlog)
           
PeekServerSocket(int port, int backlog, java.net.InetAddress bindAddr)
           
 
Method Summary
 PeekSocket acceptPeekSocket()
          Override server socket accept to return a empty PeekSocket.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.net.ServerSocket
accept, bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeekServerSocket

public PeekServerSocket()
                 throws java.io.IOException
Throws:
java.io.IOException

PeekServerSocket

public PeekServerSocket(int port)
                 throws java.io.IOException
Parameters:
port -
Throws:
java.io.IOException

PeekServerSocket

public PeekServerSocket(int port,
                        int backlog)
                 throws java.io.IOException
Parameters:
port -
backlog -
Throws:
java.io.IOException

PeekServerSocket

public PeekServerSocket(int port,
                        int backlog,
                        java.net.InetAddress bindAddr)
                 throws java.io.IOException
Parameters:
port -
backlog -
bindAddr -
Throws:
java.io.IOException
Method Detail

acceptPeekSocket

public PeekSocket acceptPeekSocket()
                            throws java.io.IOException
Override server socket accept to return a empty PeekSocket. implAccept() does all the work to make it connected to the client socket.

Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)

TPTP 4.5.0 Testing Tools Project
Internal API Specification