Class EppRequestMessage

java.lang.Object
google.registry.monitoring.blackbox.message.EppMessage
google.registry.monitoring.blackbox.message.EppRequestMessage
All Implemented Interfaces:
OutboundMessageType

public class EppRequestMessage extends EppMessage implements OutboundMessageType
EppMessage subclass that implements OutboundMessageType, which represents an outbound Epp message.

In modifying the getReplacements field of EppRequestMessage and the template, we can represent the the 5 basic EPP commands we are attempting to probe. The original 5 are: LOGIN, CREATE, CHECK, DELETE, LOGOUT.

In turn, we equivalently create 10 different EPP commands probed: Hello - checks for Greeting response, Login expecting success, Login expecting Failure, Create expecting Success, Create expecting Failure, Check that the domain exists, Check that the domain doesn't exist, Delete expecting Success, Delete expecting Failure, and Logout expecting Success.

The main difference is that we added a hello command that simply waits for the server to send a greeting, then moves on to the Login action.

Stores a clTRID and domainName which is modified each time the token calls modifyMessage. These will also modify the EPP request sent to the server.