kaos.core.util
Class MethodCallRequestMsg

java.lang.Object
  extended by kaos.core.util.Msg
      extended by kaos.core.util.MethodCallMsg
          extended by kaos.core.util.MethodCallRequestMsg
All Implemented Interfaces:
java.io.Serializable, org.xml.sax.ErrorHandler

public class MethodCallRequestMsg
extends MethodCallMsg

See Also:
Serialized Form

Field Summary
static java.lang.String AUTH_HASHTABLE
           
 
Constructor Summary
MethodCallRequestMsg()
          Creates a msg which encapsulates a method call request
MethodCallRequestMsg(java.lang.String sequenceId, java.lang.String methodName, java.util.Vector args, java.util.Hashtable authTable)
          Creates a msg which encapsulates a method call request
MethodCallRequestMsg(java.lang.String methodName, java.util.Vector args)
          Creates a msg which encapsulates a method call request
MethodCallRequestMsg(java.lang.String methodName, java.util.Vector args, java.util.Hashtable authTable)
           
 
Method Summary
 java.util.Vector getArgs()
           
 java.util.Hashtable getAuthorization()
           
 java.lang.String getMethodName()
           
 void setAuthorization(java.util.Hashtable authTable)
           
 void setMethodNameArgs(java.lang.String methodName, java.util.Vector args)
           
 
Methods inherited from class kaos.core.util.MethodCallMsg
getSequenceId
 
Methods inherited from class kaos.core.util.Msg
addSubMsg, addSubMsg, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, clone, createFromFile, error, fatalError, getElementsNamed, getFirstChildSkip, getNamedString, getNamedString, getNamedVector, getNextSkip, getNodeAttributes, getParentSkip, getPreviousSkip, getRootNode, getSubMsg, getSubMsg, getSymbol, getSymbol, getVerbosity, main, removeSymbol, setLogger, setVerbosity, showMsgInfo, showMsgInfo, toString, traverseDOMBranch, traverseRoot, warning
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTH_HASHTABLE

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

MethodCallRequestMsg

public MethodCallRequestMsg()
Creates a msg which encapsulates a method call request


MethodCallRequestMsg

public MethodCallRequestMsg(java.lang.String methodName,
                            java.util.Vector args)
Creates a msg which encapsulates a method call request

Parameters:
sequenceId - Unique identifier which will be returned in the reply to identify which MethodCallMsg the reply is in response to
methodName - The name of the method to call
args - Vector of arguments to pass to the method. null is OK if there are no arguments. each argument must be serializable! $Revision: 1.5 $

MethodCallRequestMsg

public MethodCallRequestMsg(java.lang.String methodName,
                            java.util.Vector args,
                            java.util.Hashtable authTable)

MethodCallRequestMsg

public MethodCallRequestMsg(java.lang.String sequenceId,
                            java.lang.String methodName,
                            java.util.Vector args,
                            java.util.Hashtable authTable)
Creates a msg which encapsulates a method call request

Parameters:
sequenceId - Unique identifier which will be returned in the reply to identify which MethodCallMsg the reply is in response to
methodName - The name of the method to call
args - Vector of arguments to pass to the method. null is OK if there are no arguments. each argument must be serializable!
Method Detail

getMethodName

public java.lang.String getMethodName()

getArgs

public java.util.Vector getArgs()

setMethodNameArgs

public void setMethodNameArgs(java.lang.String methodName,
                              java.util.Vector args)

getAuthorization

public java.util.Hashtable getAuthorization()

setAuthorization

public void setAuthorization(java.util.Hashtable authTable)