|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.FLAP
FLAP is the low-level communications protocol underlying the SNAC protocol layer.
Field Summary | |
static int |
ASTERISK
The asterisk. |
static int |
MAX_LENGTH
The maximum FLAP length (maximum short value minus the 6 byte header length). |
static int |
VERSION
The FLAP version we support. |
Constructor Summary | |
FLAP(int channel)
Creates a new outgoing FLAP with the specified channel. |
|
FLAP(int command,
int channel,
int seqNum,
int length)
Creates a new incoming FLAP. |
Method Summary | |
int |
getChannel()
Get the value of channel. |
int |
getCommand()
Get the value of command. |
int |
getLength()
Get the value of length. |
int |
getSeqNum()
Get the value of seqNum. |
void |
setLength(int length)
Set the value of length. |
void |
setSeqNum(int seqNum)
Set the value of seqNum. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_LENGTH
public static final int VERSION
public static final int ASTERISK
Constructor Detail |
public FLAP(int channel)
channel
- the FLAP channelpublic FLAP(int command, int channel, int seqNum, int length) throws java.io.IOException
command
- the FLAP commandchannel
- the FLAP channelseqNum
- the FLAP sequence numberlength
- the FLAP length
java.io.IOException
- if an error occursMethod Detail |
public int getCommand()
public int getChannel()
public int getSeqNum()
public void setSeqNum(int seqNum)
seqNum
- Value to assign to seqNum.public int getLength()
public void setLength(int length) throws java.io.IOException
length
- Value to assign to length.
java.io.IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |