All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.Header
java.lang.Object
|
+----JavaGroups.Header
- public class Header
- extends Object
- implements Externalizable, Cloneable
Container for header data which is added to the front of a Message by a protocol layer
when traveling down the stack. When traveling up on the other side, each protocol layer
will remove its Header. Headers can only contain objects, which have to be serializable
(or support externalization). Both the object and its byte representation are maintained
for faster access of its contents,
but the byte buffer is only created when needed (e.g. when Size() or writeExternal()
is called) ! .
-
Header()
-
-
Header(byte[], Object)
-
-
Header(Object)
-
-
clone()
-
-
GetObject()
-
-
main(String[])
-
-
readExternal(ObjectInput)
-
-
SetObject(Object)
-
-
Size()
-
-
toString()
-
-
writeExternal(ObjectOutput)
-
Header
public Header()
Header
public Header(Object obj)
Header
public Header(byte data[],
Object obj)
SetObject
public void SetObject(Object obj)
GetObject
public Object GetObject()
Size
public long Size()
toString
public String toString()
- Overrides:
- toString in class Object
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
- clone in class Object
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index