|
Joram 5.1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.admin.AbstractAdminMessage
org.objectweb.joram.shared.admin.AdminRequest
org.objectweb.joram.shared.admin.SetCluster
public class SetCluster
A SetCluster
instance is used for adding a given topic
to a cluster an other topic is part of, or for creating a new cluster.
Field Summary |
---|
Constructor Summary | |
---|---|
SetCluster()
|
|
SetCluster(java.lang.String initId,
java.lang.String topId)
Constructs a SetCluster instance. |
Method Summary | |
---|---|
protected int |
getClassId()
|
java.lang.String |
getInitId()
Returns the identifier of the topic already part of a cluster, or chosen as the initiator. |
java.lang.String |
getTopId()
Returns the identifier of the topic joining the cluster, or the initiator. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.admin.AbstractAdminMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetCluster(java.lang.String initId, java.lang.String topId)
SetCluster
instance.
initName
- Identifier of the topic already part of a cluster, or
chosen as the initiator.topName
- Identifier of the topic joining the cluster, or the
initiator.public SetCluster()
Method Detail |
---|
public java.lang.String getInitId()
public java.lang.String getTopId()
protected int getClassId()
getClassId
in class AdminRequest
public void readFrom(java.io.InputStream is) throws java.io.IOException
Streamable
is
- the stream to read data from in order to restore the object
java.io.IOException
public void writeTo(java.io.OutputStream os) throws java.io.IOException
Streamable
os
- the stream to write the object to
java.io.IOException
|
Joram 5.1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |