All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.streams.CaptureReplayServerSocket
java.lang.Object
|
+----ncsa.habanero.streams.HabaneroServerSocket
|
+----ncsa.habanero.streams.CaptureReplayServerSocket
- public class CaptureReplayServerSocket
- extends HabaneroServerSocket
CaptureReplayServerSocket
holds a socket and allows the
socket to be recorded from.
-
CaptureReplayServerSocket(int, Collobject, String)
-
-
CaptureReplayServerSocket(int, int, Collobject, String)
-
-
accept()
-
CaptureReplayServerSocket
public CaptureReplayServerSocket(int port,
Collobject co,
String strPrefix) throws IOException
- Parameters:
- port - port to be used for the socket
- parent - the collobject that is associated with this socket
- strPrefix - the socket's tag
- Throws: IOException
- thown if unable to open the server socket
CaptureReplayServerSocket
public CaptureReplayServerSocket(int port,
int wait,
Collobject co,
String strPrefix) throws IOException
- Parameters:
- port - port to be used for the socket
- wait - the amount of time to listen for a connection
- parent - the collobject that is associated with this socket
- strPrefix - the socket's tag
- Throws: IOException
- thown if unable to open the socket
accept
public HabaneroSocket accept() throws IOException
- Returns:
- a new habanero socket
- Throws: IOException
- thrown if it is unable to accept the socket
- Overrides:
- accept in class HabaneroServerSocket
All Packages Class Hierarchy This Package Previous Next Index