Actuator
Class XMLMessageActuator
java.lang.Object
Actuator.Actuator
Actuator.XMLMessageActuator
- All Implemented Interfaces:
- IMessageCompose, IMetaOperations, IParseOperations
public class XMLMessageActuator
- extends Actuator
- implements IMessageCompose, IParseOperations, IMetaOperations
- Author:
- Paul
Methods inherited from class Actuator.Actuator |
addFunction, addParseOperation, composeTypedValue, decode, getConstantValue, getFunctionResult, getFunctionResult, getTextTypedValue, getTypedValue, inspectFunctions, inspectParseOperations, removeFunction, removeParseOperation, toByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLMessageActuator
public XMLMessageActuator(java.lang.String File,
IParseOperations pOperations)
XMLMessageActuator
public XMLMessageActuator(java.lang.String fName)
ComposeField
public java.lang.String ComposeField(java.lang.StringBuilder msg,
PacketField fieldCompose,
java.lang.String Type)
composeAttributeTag
public void composeAttributeTag(java.lang.String tagName,
java.lang.StringBuilder result,
AbstractMessage msg)
MessageCompose
public byte[] MessageCompose(AbstractMessage Message)
- Description copied from interface:
IMessageCompose
- Takes an object describing the message and converts it into a stream
of bytes that can be sent as a network message.
- Specified by:
MessageCompose
in interface IMessageCompose
- Parameters:
Message
- The object describing the data to fill the message
- Returns:
- A byte array with the network message