Package com.verisign.epp.serverstub
Class ClientConnectionHandler
java.lang.Object
com.verisign.epp.serverstub.ClientConnectionHandler
- All Implemented Interfaces:
ServerEventHandler,Cloneable
The
EPPClientConnectionHandler class manages a single client
session. A connection is logically started when the handleConnection() method
is invoked by a listening server socket.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Makes a bitwise copy of thisClientConnectionHandlervoidclose()Makes the current session stop receiving commandsvoidhandleConnection(InputStream aInputStream, OutputStream aOutputStream) Invoked for a new client connectionprotected voidResets the idle Timeout
-
Constructor Details
-
ClientConnectionHandler
public ClientConnectionHandler()Creates a new ClientConnectionHandler instance.
-
-
Method Details
-
clone
Makes a bitwise copy of thisClientConnectionHandler- Specified by:
clonein interfaceServerEventHandler- Overrides:
clonein classObject- Returns:
- Clone of the
ClientConnectionHandler - Throws:
CloneNotSupportedException- Error with cloning
-
handleConnection
Invoked for a new client connection- Specified by:
handleConnectionin interfaceServerEventHandler- Parameters:
aInputStream- The inputStream of the new connectionaOutputStream- The outputStream of the new connection
-
close
public void close()Makes the current session stop receiving commands -
resetIdleTimeOut
protected void resetIdleTimeOut()Resets the idle Timeout
-