Class EPPPlainServer
- java.lang.Object
-
- com.verisign.epp.transport.server.EPPPlainServer
-
- All Implemented Interfaces:
EPPServerCon
- Direct Known Subclasses:
EPPPlainServerSingle
public class EPPPlainServer extends java.lang.Object implements EPPServerCon
EPP Plain TCP Server
-
-
Constructor Summary
Constructors Constructor Description EPPPlainServer()Pre-condition the util.Env provide the properties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the server by closing the server socket.voidloop()Client connection loop for the EPP Plain TCP Server.voidRunServer(ServerEventHandler aServerEventHandler)Runs the Plain TCP Server, which starts the server socket, and enters the client connection loop.
-
-
-
Constructor Detail
-
EPPPlainServer
public EPPPlainServer() throws EPPConExceptionPre-condition the util.Env provide the properties- Throws:
EPPConException- Exception getting the server port or connection timeout
-
-
Method Detail
-
RunServer
public void RunServer(ServerEventHandler aServerEventHandler) throws EPPConException
Runs the Plain TCP Server, which starts the server socket, and enters the client connection loop.- Specified by:
RunServerin interfaceEPPServerCon- Parameters:
aServerEventHandler- Server event handler to get called for new client connections- Throws:
EPPConException- Exception for the server
-
loop
public void loop() throws EPPConExceptionClient connection loop for the EPP Plain TCP Server.- Throws:
EPPConException- Exception in the EPP Plain TCP Server loop
-
close
public void close() throws EPPConExceptionClose the server by closing the server socket.- Throws:
EPPConException- Exception closing the server
-
-