|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.RegistryMessage
public class RegistryMessage
RegistryMessage is the object that is sent to the registry which contains the registry messages. The client and server use RegistyMessages to contact the registry.
Field Summary | |
---|---|
static int |
BIND
BIND a message to bind an object to the registry. |
static int |
LOOKUP
LOOKUP a message to lookup an object in the registry. |
static int |
NEW_FRONT_END
NEW_FRONT_END a message to add a new FrontEnd for active replication. |
static int |
REMOVE_BINDING
REMOVE_BINDING a message to remove a binding from the registry. |
Method Summary | |
---|---|
int |
getMessageType()
Get the type of registry message. |
java.lang.String |
getObjectName()
Returns the name of the oject. |
java.lang.Object |
getObjectToBind()
Get the object to bind to the registry. |
int |
getPortToBind()
Gets the portToBind. |
void |
setMessageType(int messageType)
Set the type of message. |
void |
setObjectName(java.lang.String objectName)
Set the name of the object to bind. |
void |
setObjectToBind(java.lang.Object objectToBind)
Set the object to bind to the registry. |
void |
setPortToBind(int portToBind)
Set the port number to bind. |
java.lang.String |
toString()
Returns a String representation of the registry message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int BIND
BIND
a message to bind an object to the registry.
public static final int LOOKUP
LOOKUP
a message to lookup an object in the registry.
public static final int NEW_FRONT_END
NEW_FRONT_END
a message to add a new FrontEnd for active replication.
public static final int REMOVE_BINDING
REMOVE_BINDING
a message to remove a binding from the registry.
Method Detail |
---|
public java.lang.String getObjectName()
public void setObjectName(java.lang.String objectName)
objectName
- The objectName to set.public int getPortToBind()
public void setPortToBind(int portToBind)
portToBind
- The portToBind to set.public int getMessageType()
public void setMessageType(int messageType)
messageType
- The messageType to set.public java.lang.Object getObjectToBind()
public void setObjectToBind(java.lang.Object objectToBind)
objectToBind
- The objectToBind to set.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |