|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.interfaces.EPPSuggestion
public class EPPSuggestion
EPPSuggestion is the primary client interface class used for
Suggestion management. An instance of EPPSuggestion is created
with an initialized EPPSession, and can be used for more than
one request within a single thread. A set of setter methods are provided to
set the attributes before a call to one of the send action methods. The
responses returned from the send action methods are either instances of
EPPResponse or instances of response classes in the
com.verisign.epp.codec.suggestion package.
EPPResponse,
EPPSuggestionInfoResp| Constructor Summary | |
|---|---|
EPPSuggestion(EPPSession newSession)
Constructs an EPPSuggestion given an initialized EPP
session. |
|
| Method Summary | |
|---|---|
void |
addExtension(EPPCodecComponent aExtension)
Adds a command extension object. |
EPPCommand |
getCommand()
Retrieve the EPPCommand object to send |
java.util.Vector<EPPCodecComponent> |
getExtensions()
Gets the command extensions. |
EPPResponse |
getResponse()
Get the EPPResponse associated with the last command. |
EPPSession |
getSession()
Retrieve the EPPSession associated with this
EPPSuggestion. |
EPPSuggestionInfoResp |
sendInfo()
|
void |
setCommand(EPPCommand command)
|
void |
setExtensions(java.util.Vector<EPPCodecComponent> aExtensions)
|
void |
setSession(EPPSession aSession)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EPPSuggestion(EPPSession newSession)
EPPSuggestion given an initialized EPP
session.
newSession - Server session to use.| Method Detail |
|---|
public void addExtension(EPPCodecComponent aExtension)
aExtension - command extension object associated with the commandpublic EPPCommand getCommand()
EPPCommand object to send
EPPCommand to send to the server.public java.util.Vector<EPPCodecComponent> getExtensions()
Vector of concrete EPPCodecComponent
associated with the command if exists; null
otherwise.public EPPResponse getResponse()
EPPResponse associated with the last command. This
method can be used to retrieve the server error response in the catch
block of EPPCommandException.
EPPResponse associated with the last commandpublic EPPSession getSession()
EPPSession associated with this
EPPSuggestion.
EPPSession
public EPPSuggestionInfoResp sendInfo()
throws EPPCommandException
EPPCommandExceptionpublic void setCommand(EPPCommand command)
public void setExtensions(java.util.Vector<EPPCodecComponent> aExtensions)
public void setSession(EPPSession aSession)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||