com.cri.xcat.api.examples
Class DetailedRequest

java.lang.Object
  extended by com.cri.xcat.api.Request
      extended by com.cri.xcat.api.helpers.BasicRequest
          extended by com.cri.xcat.api.examples.DetailedRequest

public class DetailedRequest
extends BasicRequest


Constructor Summary
DetailedRequest(java.lang.String commandName)
           
 
Method Summary
 void buildXmlOutputStream(java.io.OutputStream stream)
          Creates the XML and sends it to the xCAT server.
 java.lang.String getTransactionId()
           
 void setTransactionId(java.lang.String transactionId)
           
 
Methods inherited from class com.cri.xcat.api.helpers.BasicRequest
getArgs, getCommandName, getCurrentWorkingDirectory, getNodeRange, setArgs, setCommandName, setCurrentWorkingDirectory, setNodeRange
 
Methods inherited from class com.cri.xcat.api.Request
getConnection, getHandler, getSocketTimeOut, setSocketTimeOut, submitRequest, submitRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailedRequest

public DetailedRequest(java.lang.String commandName)
Method Detail

setTransactionId

public void setTransactionId(java.lang.String transactionId)
Parameters:
transactionId - the transactionId to set

getTransactionId

public java.lang.String getTransactionId()
Returns:
the transactionId

buildXmlOutputStream

public void buildXmlOutputStream(java.io.OutputStream stream)
                          throws XcatCommunicationException
Description copied from class: Request
Creates the XML and sends it to the xCAT server. The XML root tag should be xcatrequest.

Overrides:
buildXmlOutputStream in class BasicRequest
Parameters:
stream - The OutputStream from the SSL socket to the xCAT server. The XML created should be sent to this output stream.
Throws:
XcatCommunicationException