|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.RegistryStubList
A container of regular stubs to CMI registries.
Method Summary | |
static void |
debug(java.lang.String mesg)
Print a bug message on the console |
static org.objectweb.carol.cmi.RegistryInternal |
getClusterStub(NamingContextHostPort[] hp)
Get a reference to the Cluster registry |
java.util.Set |
getSetOfStubs()
Get the set of stubs |
boolean |
isStubDebug()
Test is the debug mode is enabled |
static RegistryStubList |
read(java.io.ObjectInput in)
Read stubs from input |
boolean |
removeStub(StubData sd)
Remove a stub This function fails if and only if the stub to remove is the last one. |
java.lang.String |
toContentsString()
Pretty print for the stubs list |
java.lang.String |
toString()
Get the String form of this |
void |
write(java.io.ObjectOutput out)
Write stubs to output |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void write(java.io.ObjectOutput out) throws java.io.IOException
out
- output stream
java.io.IOException
- if exception occurspublic static RegistryStubList read(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- input stream
java.io.IOException
- if I/O error is encountered
java.lang.ClassNotFoundException
- if the class INFpublic boolean removeStub(StubData sd)
sd
- stub
public static org.objectweb.carol.cmi.RegistryInternal getClusterStub(NamingContextHostPort[] hp) throws java.rmi.RemoteException
hp
- host and port of the naming context
java.rmi.RemoteException
- if an exception is encounteredpublic java.util.Set getSetOfStubs()
public boolean isStubDebug()
public static void debug(java.lang.String mesg)
mesg
- message to printpublic java.lang.String toContentsString()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |