|
||||||||||
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.ContactCheckRequest
public class ContactCheckRequest
request to retrieve the status of a given contact handle
Field Summary | |
---|---|
private java.lang.String |
handle
the handle |
Constructor Summary | |
---|---|
ContactCheckRequest()
constructor |
|
ContactCheckRequest(java.lang.String theHandle)
constructor |
Method Summary | |
---|---|
ContactCheckResponse |
execute(Port port)
execute the this request on the given port. |
protected java.lang.String |
getActionCode()
return the action string for this request |
java.lang.String |
getHandle()
return the handle |
protected void |
requestToKVList(KVList list)
method that needs to be implemented by subclasses for the key-value list conversion |
protected void |
requestToXml(org.w3c.dom.Node node)
method that needs to be implemented by subclasses for the XML conversion |
void |
setHandle(java.lang.String theHandle)
set the handle |
java.lang.String |
toString()
return a string representation for debugging purposes |
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 java.lang.String handle
Constructor Detail |
---|
public ContactCheckRequest()
public ContactCheckRequest(java.lang.String theHandle)
theHandle
- the handleMethod Detail |
---|
public ContactCheckResponse 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 void requestToXml(org.w3c.dom.Node node) throws org.w3c.dom.DOMException, EncodeException
requestToXml
in class Request
node
- the node where the request shall be added to
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 Request
list
- the list that has to be filled
EncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
toString
in class Request
public java.lang.String getHandle()
public void setHandle(java.lang.String theHandle)
theHandle
- the handle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |