|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hypercast.events.NOTIFICATION_EVENT | +--hypercast.events.NAMING_EVENT
Class of event that is particular to the naming system. Object of this class contain information about bindings that have been requested by an application.
Naming
,
MessageStoreFSM_Naming
Constructor Summary | |
NAMING_EVENT(int serialNumber,
hypercast.ImmutableNamingBinding[] bindings)
Builds an event for the naming service. |
Method Summary | |
boolean |
containsLogicalAddress(java.lang.String logicalAddressString)
Returns true if at least one binding in this object has the specified logical address. |
boolean |
containsName(java.lang.String name)
Returns true if at least one binding in this object has the specified name. |
hypercast.ImmutableNamingBinding[] |
getBindings()
Returns the array of all bindings in this object. |
hypercast.ImmutableNamingBinding[] |
getBindingsWithLogicalAddress(java.lang.String logicalAddressString)
Returns an array of the subset of bindings contained by this object that have the specified logical address. |
hypercast.ImmutableNamingBinding[] |
getBindingsWithName(java.lang.String name)
Returns an array of the subset of bindings contained by this object that have the specified name. |
hypercast.ImmutableNamingBinding[] |
getLocalBindings()
Returns an array of the subset of bindings contained by this object that were created locally. |
int |
getSerialNumber()
Returns the serial number of the query associated with this event. |
java.lang.String |
toString()
Returns a string that contains the representation of all bindings in this event. |
Methods inherited from class hypercast.events.NOTIFICATION_EVENT |
getInfo, getTimestamp, setInfo, setTimestamp |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NAMING_EVENT(int serialNumber, hypercast.ImmutableNamingBinding[] bindings)
Method Detail |
public int getSerialNumber()
public boolean containsName(java.lang.String name)
public boolean containsLogicalAddress(java.lang.String logicalAddressString)
public hypercast.ImmutableNamingBinding[] getBindings()
public hypercast.ImmutableNamingBinding[] getLocalBindings()
public hypercast.ImmutableNamingBinding[] getBindingsWithName(java.lang.String name)
public hypercast.ImmutableNamingBinding[] getBindingsWithLogicalAddress(java.lang.String logicalAddressString)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |