Package com.verisign.epp.serverstub.v1_0
Class MaintenancePollHandler
- java.lang.Object
-
- com.verisign.epp.serverstub.v1_0.MaintenancePollHandler
-
- All Implemented Interfaces:
EPPPollHandler
public class MaintenancePollHandler extends java.lang.Object implements EPPPollHandler
TheMaintenancePollHandler
implementsEPPPollHandler
for Maintenance Name Mapping.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KIND
The kind used for theMaintenancePollHandler
poll messages.
-
Constructor Summary
Constructors Constructor Description MaintenancePollHandler()
-
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 theMaintenancePollHandler
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 EPPMaintenanceMapFactory.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
.
-
-