jgroup.relacs.types
Class MessageTag

java.lang.Object
  extended by jgroup.relacs.types.MessageTag

public final class MessageTag
extends java.lang.Object

The MessageTag class wraps a value of the relacs daemon and mss type in an object.

Since:
Jgroup 1.2
Author:
Hein Meling

Field Summary
static int SIZE
          Size of this object in bytes
 
Constructor Summary
MessageTag()
           
 
Method Summary
static void marshal(java.io.ObjectOutput msg, byte value)
          Marshals the specified message tag to an outgoing message.
static byte unmarshal(byte value)
          Unmarshals a message tag from a byte.
static byte unmarshal(java.io.ObjectInput msg)
          Unmarshals a message tag from an incoming message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
Size of this object in bytes

See Also:
Constant Field Values
Constructor Detail

MessageTag

public MessageTag()
Method Detail

marshal

public static void marshal(java.io.ObjectOutput msg,
                           byte value)
                    throws java.io.IOException
Marshals the specified message tag to an outgoing message.

Throws:
java.io.IOException

unmarshal

public static byte unmarshal(java.io.ObjectInput msg)
                      throws java.io.IOException
Unmarshals a message tag from an incoming message.

Throws:
java.io.IOException

unmarshal

public static byte unmarshal(byte value)
Unmarshals a message tag from a byte.



Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.