ist.palcom.mal
Class IRMessageWrapper

java.lang.Object
  extended by ist.palcom.mal.Message
      extended by ist.palcom.mal.IRMessageWrapper

public class IRMessageWrapper
extends Message

Simple wrapper-class that allows IRMessage instances to be passed to clients expecting IRMessages directly.


Field Summary
 
Fields inherited from class ist.palcom.mal.Message
TYPE_MULTIPART
 
Method Summary
 Message getCopy()
          Unsupported at the moment
 int getInformationLength()
          Returns the length of the information in the message.
 IRMessage getMessage()
           
 String getType()
          Returns the type of the message.
protected  int writeInformation(byte[] buffer, int offset)
          Unsupported
 
Methods inherited from class ist.palcom.mal.Message
getReceiverSelector, getReceiverURL, getReceiverURN, getSenderSelector, getSenderURL, getSenderURN, getTotalLength, parse, setReceiverSelector, setReceiverURL, setReceiverURN, setSenderSelector, setSenderURL, setSenderURN, write
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Method Detail

getCopy

public Message getCopy()
Unsupported at the moment

Specified by:
getCopy in class Message
Returns:
A copy of the message, with the same data in new buffer(s).

getInformationLength

public int getInformationLength()
Description copied from class: Message
Returns the length of the information in the message.

Specified by:
getInformationLength in class Message

getType

public String getType()
Description copied from class: Message
Returns the type of the message.

Specified by:
getType in class Message

writeInformation

protected int writeInformation(byte[] buffer,
                               int offset)
Unsupported

Specified by:
writeInformation in class Message
Returns:
The number of bytes written.

getMessage

public IRMessage getMessage()