All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.Header
java.lang.Object
|
+----JavaGroups.Header
- public class Header
- extends Object
- implements Serializable, 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.
-
Header()
-
-
Header(byte[])
-
-
Header(Serializable)
-
-
Append(byte[])
-
-
Append(int)
-
-
Append(long)
-
-
Append(Serializable)
-
-
clone()
-
-
GetData()
-
-
GetInt()
-
-
GetLong()
-
-
GetObject()
-
-
GetString()
-
-
main(String[])
-
-
Prepend(byte[])
- Adds new_data at start of existing data
-
Prepend(int)
-
-
Prepend(long)
-
-
Prepend(Serializable)
-
-
RemoveInt()
-
-
RemoveLong()
-
-
RemoveObject()
-
-
SetData(byte[])
-
-
SetObject(Serializable)
-
-
Size()
-
-
toString()
-
Header
public Header()
Header
public Header(byte d[])
Header
public Header(Serializable msg)
GetData
public byte[] GetData()
SetData
public void SetData(byte new_data[])
Size
public long Size()
SetObject
public void SetObject(Serializable obj)
GetObject
public Object GetObject()
GetString
public String GetString()
GetInt
public int GetInt()
GetLong
public long GetLong()
Prepend
public void Prepend(byte new_data[])
- Adds new_data at start of existing data
Prepend
public void Prepend(int i)
Prepend
public void Prepend(long l)
Prepend
public void Prepend(Serializable obj)
Append
public void Append(byte new_data[])
Append
public void Append(int i)
Append
public void Append(long l)
Append
public void Append(Serializable obj)
RemoveInt
public int RemoveInt() throws Exception
RemoveLong
public long RemoveLong() throws Exception
RemoveObject
public Object RemoveObject() throws Exception
toString
public String toString()
- Overrides:
- toString in class Object
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
- clone in class Object
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index