Package com.verisign.epp.serverstub
Class OrgPollHandler
- java.lang.Object
-
- com.verisign.epp.serverstub.OrgPollHandler
-
- All Implemented Interfaces:
EPPPollHandler
public class OrgPollHandler extends java.lang.Object implements EPPPollHandler
TheOrgPollHandlerimplementsEPPPollHandlerfor Org Name Mapping.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKINDThe kind used for theOrgPollHandlerpoll messages.
-
Constructor Summary
Constructors Constructor Description OrgPollHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKind()Gets the kind of poll messages it handles.EPPResponsetoResponse(EPPPollDataRecord aRecord)Converts a poll queueEPPPollDataRecordto anEPPResponse.
-
-
-
Field Detail
-
KIND
public static final java.lang.String KIND
The kind used for theOrgPollHandlerpoll messages.- See Also:
- Constant Field Values
-
-
Method Detail
-
getKind
public java.lang.String getKind()
Gets the kind of poll messages it handles.- Specified by:
getKindin interfaceEPPPollHandler- Returns:
- The domain name XML namespace represented by
@link EPPOrgMapFactory.NS.
-
toResponse
public EPPResponse toResponse(EPPPollDataRecord aRecord) throws EPPPollQueueException
Converts a poll queueEPPPollDataRecordto anEPPResponse.- Specified by:
toResponsein interfaceEPPPollHandler- Parameters:
aRecord- Poll queue record to convert to anEPPResponse.- Returns:
- An
EPPResponsethat represents the poll queue record. - Throws:
EPPPollQueueException- Error converting theEPPPollDataRecordto anEPPResponse.
-
-