Package com.verisign.epp.serverstub
Class Server
java.lang.Object
com.verisign.epp.serverstub.Server
The
Server class is responsible for reading the config file,
instantiating an implementation of a ServerSocket (Plain or SSL), and
specifying the ServerEventHandler class that will be instantiated
with each new client connection.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializesServer's dispatcher to handle the commands defined by the supported EPP mappings.voidInitialize the poll handler based on the EPP.PollHandlers,static voidRuns the EPP Stub Server Server with the usage:
java Server [-help|<config-file>]
-
Field Details
-
WK_PORT
public static final int WK_PORTDefault port to Listen on- See Also:
-
-
Constructor Details
-
Server
Construct a Server instance- Parameters:
configFileName- The name of the config file where EPP properites are located
-
-
Method Details
-
initializePollQueue
public void initializePollQueue()Initialize the poll handler based on the EPP.PollHandlers, -
initializeDispatcher
public void initializeDispatcher()InitializesServer's dispatcher to handle the commands 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
Runs the EPP Stub Server Server with the usage:
java Server [-help|<config-file>]
-help Gets the help <config-file> EPP configuration file, with default of "epp.config"- Parameters:
args- Command line arguments
-