nathan.middleware
Interface MessageType


public interface MessageType

MessageType Interface contains the type of messages that can be sent in the application.

Author:
Nathan Balon
Advance Operating Systems CIS 578
University of Michigan Dearborn
Remote Method Invocation Middleware Project

Field Summary
static int ALIVE
          ALIVE check if the connection is alive
static int ARE_YOU_ALIVE
          ARE_YOU_ALIVE a message checking if the connection is still active.
static int CLOSE_CONNECTION
          CLOSE_CONNECTION a message sent to the client to terminate there connection if no more objects are able to be accessed.
static int MARKER
          MARKER a marker message used to get the global state of the system.
static int NEW_REPLICA
          NEW_REPLICA a message sent from the registry telling the active replication manager that a new remote object has been added.
static int REMOVE_REPLICA
          REMOVE_REPLICA a message sent to the registry to remove the replicated object from it list of remote objects.
static int REPLY
          REPLY a reply message
static int REQUEST
          REQUEST a request message to be sent.
 

Field Detail

REQUEST

static final int REQUEST
REQUEST a request message to be sent.

See Also:
Constant Field Values

REPLY

static final int REPLY
REPLY a reply message

See Also:
Constant Field Values

MARKER

static final int MARKER
MARKER a marker message used to get the global state of the system.

See Also:
Constant Field Values

NEW_REPLICA

static final int NEW_REPLICA
NEW_REPLICA a message sent from the registry telling the active replication manager that a new remote object has been added.

See Also:
Constant Field Values

REMOVE_REPLICA

static final int REMOVE_REPLICA
REMOVE_REPLICA a message sent to the registry to remove the replicated object from it list of remote objects.

See Also:
Constant Field Values

CLOSE_CONNECTION

static final int CLOSE_CONNECTION
CLOSE_CONNECTION a message sent to the client to terminate there connection if no more objects are able to be accessed.

See Also:
Constant Field Values

ARE_YOU_ALIVE

static final int ARE_YOU_ALIVE
ARE_YOU_ALIVE a message checking if the connection is still active.

See Also:
Constant Field Values

ALIVE

static final int ALIVE
ALIVE check if the connection is alive

See Also:
Constant Field Values