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.


Constructor Index

 o Header()
 o Header(byte[])
 o Header(Serializable)

Method Index

 o Append(byte[])
 o Append(int)
 o Append(long)
 o Append(Serializable)
 o clone()
 o GetData()
 o GetInt()
 o GetLong()
 o GetObject()
 o GetString()
 o main(String[])
 o Prepend(byte[])
Adds new_data at start of existing data
 o Prepend(int)
 o Prepend(long)
 o Prepend(Serializable)
 o RemoveInt()
 o RemoveLong()
 o RemoveObject()
 o SetData(byte[])
 o SetObject(Serializable)
 o Size()
 o toString()

Constructors

 o Header
 public Header()
 o Header
 public Header(byte d[])
 o Header
 public Header(Serializable msg)

Methods

 o GetData
 public byte[] GetData()
 o SetData
 public void SetData(byte new_data[])
 o Size
 public long Size()
 o SetObject
 public void SetObject(Serializable obj)
 o GetObject
 public Object GetObject()
 o GetString
 public String GetString()
 o GetInt
 public int GetInt()
 o GetLong
 public long GetLong()
 o Prepend
 public void Prepend(byte new_data[])
Adds new_data at start of existing data

 o Prepend
 public void Prepend(int i)
 o Prepend
 public void Prepend(long l)
 o Prepend
 public void Prepend(Serializable obj)
 o Append
 public void Append(byte new_data[])
 o Append
 public void Append(int i)
 o Append
 public void Append(long l)
 o Append
 public void Append(Serializable obj)
 o RemoveInt
 public int RemoveInt() throws Exception
 o RemoveLong
 public long RemoveLong() throws Exception
 o RemoveObject
 public Object RemoveObject() throws Exception
 o toString
 public String toString()
Overrides:
toString in class Object
 o clone
 public Object clone() throws CloneNotSupportedException
Overrides:
clone in class Object
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index