org.objectweb.tribe.messages
Class ByteMessage

java.lang.Object
  extended byorg.objectweb.tribe.messages.ByteMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FragmentedMessage

public class ByteMessage
extends java.lang.Object
implements java.io.Serializable

This class defines a ByteMessage

Version:
1.0
Author:
Emmanuel Cecchet
See Also:
Serialized Form

Constructor Summary
ByteMessage(byte[] msg)
          Creates a new ByteMessage object
 
Method Summary
 byte[] getContent()
          Returns the content value.
protected  void setContent(byte[] msg)
          Set the message content (overrides any previous content).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteMessage

public ByteMessage(byte[] msg)
Creates a new ByteMessage object

Parameters:
msg - the new message content
Method Detail

getContent

public byte[] getContent()
Returns the content value.

Returns:
Returns the content.

setContent

protected void setContent(byte[] msg)
Set the message content (overrides any previous content).

Parameters:
msg - the new message content


Copyright © 2004 - ObjectWeb Consortium - All Rights Reserved.