|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.request.Request
de.knipp.rritoolkit.request.DomainSimpleRequest
de.knipp.rritoolkit.request.DomainTransitRequest
public class DomainTransitRequest
class that represents a domain transit request
Field Summary | |
---|---|
private boolean |
disconnect
flag whether the domain shall be disconnected |
Constructor Summary | |
---|---|
DomainTransitRequest()
constructor |
|
DomainTransitRequest(java.lang.String theDomainName)
constructor |
|
DomainTransitRequest(java.lang.String theDomainName,
java.lang.String theEncodedDomainName)
constructor |
|
DomainTransitRequest(java.lang.String theDomainName,
java.lang.String theEncodedDomainName,
boolean disconnectDomain)
constructor |
Method Summary | |
---|---|
protected void |
addAttributes(XmlBuilder xb)
allow the addition of attributes to the request. |
boolean |
disconnect()
return whether the domain shall be disconnected or not |
DomainTransitResponse |
execute(Port port)
execute the this request on the given port. |
protected java.lang.String |
getActionCode()
return the action string for this request |
protected java.lang.String |
getRequestElementName()
return the XML element name |
protected void |
requestToKVList(KVList list)
method that needs to be implemented by subclasses for the key-value list conversion |
void |
setDisconnect(boolean disconnectDomain)
set whether the domain shall be disconnected or not |
java.lang.String |
toString()
return a string representation for debugging purposes |
Methods inherited from class de.knipp.rritoolkit.request.DomainSimpleRequest |
---|
getDomainName, getEncodedDomainName, requestToXml, setDomainName, setDomainName |
Methods inherited from class de.knipp.rritoolkit.request.Request |
---|
getClientTxnID, getProtocolVersion, setClientTxnID, toList, toXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private boolean disconnect
Constructor Detail |
---|
public DomainTransitRequest()
public DomainTransitRequest(java.lang.String theDomainName, java.lang.String theEncodedDomainName, boolean disconnectDomain)
theDomainName
- the domain nametheEncodedDomainName
- the encoded domain name, may be null
for ASCII only domainsdisconnectDomain
- if true
the domain is
disconnected on executionpublic DomainTransitRequest(java.lang.String theDomainName, java.lang.String theEncodedDomainName)
theDomainName
- the domain nametheEncodedDomainName
- the encoded domain name, may be null
for ASCII only domainspublic DomainTransitRequest(java.lang.String theDomainName)
theDomainName
- the domain nameMethod Detail |
---|
public DomainTransitResponse execute(Port port) throws java.io.IOException
execute
in class Request
port
- the port on which this request shall
be executed
java.io.IOException
- if the execution failedprotected java.lang.String getRequestElementName()
getRequestElementName
in class DomainSimpleRequest
protected void addAttributes(XmlBuilder xb) throws org.w3c.dom.DOMException, EncodeException
addAttributes
in class DomainSimpleRequest
xb
- the XML builder
org.w3c.dom.DOMException
- on DOM exceptions
EncodeException
- if the encoding fails for some reasonprotected java.lang.String getActionCode()
getActionCode
in class Request
protected void requestToKVList(KVList list) throws EncodeException
requestToKVList
in class DomainSimpleRequest
list
- the list that has to be filled
EncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
toString
in class DomainSimpleRequest
public boolean disconnect()
true
if the domain shall be
disconnectedpublic void setDisconnect(boolean disconnectDomain)
disconnectDomain
- true
if the domain shall be
disconnected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |