Package com.verisign.epp.serverstub
Class Server
- java.lang.Object
-
- com.verisign.epp.serverstub.Server
-
public class Server extends java.lang.ObjectTheServerclass is responsible for reading the config file, instantiating an implementation of a ServerSocket (Plain or SSL), and specifying theServerEventHandlerclass that will be instantiated with each new client connection.
-
-
Field Summary
Fields Modifier and Type Field Description static intWK_PORTDefault port to Listen on
-
Constructor Summary
Constructors Constructor Description Server(java.lang.String configFileName)Construct a Server instance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitializeDispatcher()InitializesServer's dispatcher to handle the commmands defined by the supported EPP mappings.voidinitializePollQueue()Initialize the poll handler based on the EPP.PollHandlers,static voidmain(java.lang.String[] args)Runs the Server
-
-
-
Field Detail
-
WK_PORT
public static final int WK_PORT
Default port to Listen on- See Also:
- Constant Field Values
-
-
Method Detail
-
initializePollQueue
public void initializePollQueue()
Initialize the poll handler based on the EPP.PollHandlers,
-
initializeDispatcher
public void initializeDispatcher()
InitializesServer's dispatcher to handle the commmands defined by the supported EPP mappings. At this point we also get the list of Command Response extensions class names from the epp.config file and add the CommandResponseextension classes to the EPPExtFaactory
-
main
public static void main(java.lang.String[] args)
Runs the Server- Parameters:
args- The command line argument should be the epp.config file
-
-