Actuator
Interface IMessageCompose

All Known Implementing Classes:
Actuator, MessageActuator, TextMessageActuator, XMLMessageActuator

public interface IMessageCompose

Interface of each message composer object. Where a message composer object converts objects to the message format of each individual communication protocol

Version:
protocolCONNECT 0.1
Author:
Paul Grace, Lancaster University

Method Summary
 byte[] MessageCompose(AbstractMessage Message)
          Takes an object describing the message and converts it into a stream of bytes that can be sent as a network message.
 

Method Detail

MessageCompose

byte[] MessageCompose(AbstractMessage Message)
Takes an object describing the message and converts it into a stream of bytes that can be sent as a network message.

Parameters:
Message - The object describing the data to fill the message
Returns:
A byte array with the network message