cz.active24.client.fred.data.poll.PollAcknowledgementRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.data.poll;
import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
/**
* A poll acknowledgement command is used to confirm that a message has been received by the client and can be removed from the queue on the server.
*
*
* - {@link PollAcknowledgementRequest#msgID} - the identification number of a message to be confirmed
*
*
* @see FRED documentation
*/
public class PollAcknowledgementRequest extends EppRequest implements Serializable {
private String msgID;
public PollAcknowledgementRequest(String messageId) {
setServerObjectType(ServerObjectType.OTHER);
this.msgID = messageId;
}
public String getMsgID() {
return msgID;
}
protected void setMsgID(String msgID) {
this.msgID = msgID;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("PollAcknowledgementRequest{");
sb.append("msgID='").append(msgID).append('\'');
sb.append(", clientTransactionId='").append(getClientTransactionId()).append('\'');
sb.append(", serverObjectType=").append(getServerObjectType());
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy