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
TheOrgPollHandler
implementsEPPPollHandler
for Org Name Mapping.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KIND
The kind used for theOrgPollHandler
poll messages.
-
Constructor Summary
Constructors Constructor Description OrgPollHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKind()
Gets the kind of poll messages it handles.EPPResponse
toResponse(EPPPollDataRecord aRecord)
Converts a poll queueEPPPollDataRecord
to anEPPResponse
.
-
-
-
Field Detail
-
KIND
public static final java.lang.String KIND
The kind used for theOrgPollHandler
poll messages.- See Also:
- Constant Field Values
-
-
Method Detail
-
getKind
public java.lang.String getKind()
Gets the kind of poll messages it handles.- Specified by:
getKind
in interfaceEPPPollHandler
- Returns:
- The domain name XML namespace represented by
@link EPPOrgMapFactory.NS
.
-
toResponse
public EPPResponse toResponse(EPPPollDataRecord aRecord) throws EPPPollQueueException
Converts a poll queueEPPPollDataRecord
to anEPPResponse
.- Specified by:
toResponse
in interfaceEPPPollHandler
- Parameters:
aRecord
- Poll queue record to convert to anEPPResponse
.- Returns:
- An
EPPResponse
that represents the poll queue record. - Throws:
EPPPollQueueException
- Error converting theEPPPollDataRecord
to anEPPResponse
.
-
-