Joram ${version}

org.objectweb.joram.shared.messages
Interface MessageType


public interface MessageType

The MessageType interface defines the various types of MOM messages.

MOM messages are defined by the type of data they actually carry.


Field Summary
static int BYTES
          A bytes message carries an array of bytes.
static int MAP
          A map message carries an hashtable.
static int OBJECT
          An object message carries a serializable object.
static int SIMPLE
          A simple message carries an empty body.
static int STREAM
          A stream message carries a bytes stream.
static int TEXT
          A text message carries a String body.
 

Field Detail

SIMPLE

public static final int SIMPLE
A simple message carries an empty body.

See Also:
Constant Field Values

TEXT

public static final int TEXT
A text message carries a String body.

See Also:
Constant Field Values

OBJECT

public static final int OBJECT
An object message carries a serializable object.

See Also:
Constant Field Values

MAP

public static final int MAP
A map message carries an hashtable.

See Also:
Constant Field Values

STREAM

public static final int STREAM
A stream message carries a bytes stream.

See Also:
Constant Field Values

BYTES

public static final int BYTES
A bytes message carries an array of bytes.

See Also:
Constant Field Values

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved