|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.Header org.jgroups.mux.MuxHeader
public class MuxHeader
Header used for multiplexing and de-multiplexing between service components on top of a Multiplexer (Channel)
Constructor Summary | |
---|---|
MuxHeader()
|
|
MuxHeader(ServiceInfo info)
|
|
MuxHeader(java.lang.String id)
|
Method Summary | |
---|---|
java.lang.String |
getId()
|
void |
readFrom(java.io.DataInputStream in)
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed |
int |
size()
To be implemented by subclasses. |
java.lang.String |
toString()
|
void |
writeTo(java.io.DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MuxHeader()
public MuxHeader(java.lang.String id)
public MuxHeader(ServiceInfo info)
Method Detail |
---|
public java.lang.String getId()
public int size()
Header
size
in class Header
public void writeTo(java.io.DataOutputStream out) throws java.io.IOException
Streamable
java.io.IOException
public void readFrom(java.io.DataInputStream in) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationException
Streamable
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
public java.lang.String toString()
toString
in class Header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |