|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.ax25.XIDGroup
public class XIDGroup
This class encapsulates and encodes one X.25 XID group. This is used to handle responding to the XID frame in the AX.25 protocol.
Field Summary | |
---|---|
byte |
formatIdentifier
|
byte |
groupIdentifier
|
java.util.ArrayList<XIDParameter> |
paramList
|
Constructor Summary | |
---|---|
XIDGroup()
Create an empty XIDGroup with the AX.25 default FI/GI. |
Method Summary | |
---|---|
int |
getGroupLength()
Get the number of bytes needed to encode the list of XIDParameters in this XIDGroup. |
static XIDGroup |
read(java.io.DataInput dis)
Read an XIDGroup from an input byte stream. |
void |
write(java.io.DataOutput dos)
Write the XIDGroup to a byte stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte formatIdentifier
public byte groupIdentifier
public final java.util.ArrayList<XIDParameter> paramList
Constructor Detail |
---|
public XIDGroup()
Method Detail |
---|
public void write(java.io.DataOutput dos) throws java.io.IOException
dos
- DataOutput to write the XIDGroup to
java.io.IOException
- if write fails for any reasonpublic int getGroupLength()
public static XIDGroup read(java.io.DataInput dis) throws java.io.IOException
dis
- DataInput to read the XIDGroup from
java.io.IOException
- if read fails for any reason
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |