Package com.verisign.epp.serverstub
Class NSPollHandler
- java.lang.Object
-
- com.verisign.epp.serverstub.NSPollHandler
-
- All Implemented Interfaces:
EPPPollHandler
public class NSPollHandler extends java.lang.Object implements EPPPollHandler
NameStore poll handler for all NameStore poll messages. The kind associated with the poll handler isNSPollHandler.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKINDKind of message handled byNSPollHandler.
-
Constructor Summary
Constructors Constructor Description NSPollHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKind()Gets the kind associated with NameStore poll messagesEPPResponsetoResponse(EPPPollDataRecord aRecord)Convert anEPPPollDataRecordto anEPPResponse
-
-
-
Field Detail
-
KIND
public static final java.lang.String KIND
Kind of message handled byNSPollHandler.- See Also:
- Constant Field Values
-
-
Method Detail
-
getKind
public java.lang.String getKind()
Gets the kind associated with NameStore poll messages- Specified by:
getKindin interfaceEPPPollHandler- Returns:
NSPollHandler
-
toResponse
public EPPResponse toResponse(EPPPollDataRecord aRecord) throws EPPPollQueueException
Convert anEPPPollDataRecordto anEPPResponse- Specified by:
toResponsein interfaceEPPPollHandler- Parameters:
aRecord- Poll record to convert- Returns:
- EPP poll response
- Throws:
EPPPollQueueException- Error processing record
-
-