xsul.xhandler
Class WorkloadHandler

java.lang.Object
  extended byxsul.xhandler.BaseHandler
      extended byxsul.xhandler.WorkloadHandler
All Implemented Interfaces:
MessageProcessingNode, XHandler

public class WorkloadHandler
extends BaseHandler


Field Summary
static java.lang.String SIGN_ENVELOPE
           
 
Constructor Summary
WorkloadHandler(java.lang.String name)
           
WorkloadHandler(java.lang.String name, java.lang.String job, int incomingWorkload, int ougoingWorkload)
           
 
Method Summary
 int getIncomingWorkload()
           
 java.lang.String getJob()
           
 int getOutgoingWorkload()
           
 boolean processIncomingXml(XmlElement soapEnvelope, MessageContext context)
           
 boolean processOutgoingXml(XmlElement soapEnvelope, MessageContext context)
           
 void setIncomingWorkload(int incomingWorkload)
           
 void setJob(java.lang.String job)
           
 void setOutgoingWorkload(int ougoingWorkload)
           
 
Methods inherited from class xsul.xhandler.BaseHandler
done, getName, init, isHandlerDisabled, process, setHandlerDisabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGN_ENVELOPE

public static final java.lang.String SIGN_ENVELOPE
See Also:
Constant Field Values
Constructor Detail

WorkloadHandler

public WorkloadHandler(java.lang.String name)

WorkloadHandler

public WorkloadHandler(java.lang.String name,
                       java.lang.String job,
                       int incomingWorkload,
                       int ougoingWorkload)
Method Detail

setJob

public void setJob(java.lang.String job)

getJob

public java.lang.String getJob()

setIncomingWorkload

public void setIncomingWorkload(int incomingWorkload)

getIncomingWorkload

public int getIncomingWorkload()

setOutgoingWorkload

public void setOutgoingWorkload(int ougoingWorkload)

getOutgoingWorkload

public int getOutgoingWorkload()

processOutgoingXml

public boolean processOutgoingXml(XmlElement soapEnvelope,
                                  MessageContext context)
Overrides:
processOutgoingXml in class BaseHandler

processIncomingXml

public boolean processIncomingXml(XmlElement soapEnvelope,
                                  MessageContext context)
Overrides:
processIncomingXml in class BaseHandler


IU Extreme! Lab (http://www.extreme.indiana.edu)