TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.execution.recorder.http.remote
Class PeekServerSocket

java.lang.Object
  extended byjava.net.ServerSocket
      extended byorg.eclipse.hyades.execution.recorder.http.remote.PeekServerSocket

Deprecated. This is not public API. It will be moved to internal in TPTP 5

public class PeekServerSocket
extends java.net.ServerSocket

Function: Custom server socket that can accept Sockets of type PeekSocket.


Constructor Summary
PeekServerSocket()
          Deprecated.  
PeekServerSocket(int port)
          Deprecated.  
PeekServerSocket(int port, int backlog)
          Deprecated.  
PeekServerSocket(int port, int backlog, java.net.InetAddress bindAddr)
          Deprecated.  
 
Method Summary
 PeekSocket acceptPeekSocket()
          Deprecated. Override server socket accept to return a empty PeekSocket.
static void main(java.lang.String[] args)
          Deprecated.  
 
Methods inherited from class java.net.ServerSocket
accept, bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, 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
Deprecated. 
Throws:
java.io.IOException

PeekServerSocket

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

PeekServerSocket

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

PeekServerSocket

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

acceptPeekSocket

public PeekSocket acceptPeekSocket()
                            throws java.io.IOException
Deprecated. 
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)
Deprecated. 

TPTP 4.3.0 Testing Tools Project
Public API Specification