| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjist.swans.route.RouteDsrMsg.Option
jist.swans.route.RouteDsrMsg.OptionAck
public static class RouteDsrMsg.OptionAck
An Acknowledgement option.
| Field Summary | 
|---|
| Fields inherited from class jist.swans.route.RouteDsrMsg.Option | 
|---|
| optBuf, optBufOffset | 
| Constructor Summary | |
|---|---|
| RouteDsrMsg.OptionAck(byte[] buf,
                      int offset) | |
| Method Summary | |
|---|---|
| static byte[] | create(short id,
       NetAddress src,
       NetAddress dest)Creates a new Acknowledgement option. | 
|  NetAddress | getDestAddress()Returns the destination of the Acknowledgement. | 
|  short | getId()Returns the id number of the Acknowledgement. | 
|  int | getSize()Returns the size in bytes of this option. | 
|  NetAddress | getSourceAddress()Returns the source of the Acknowledgement. | 
|  byte | getType()Returns the DSR type code for this kind of option. | 
| Methods inherited from class jist.swans.route.RouteDsrMsg.Option | 
|---|
| create, equals, getBytes, getType, hashCode | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RouteDsrMsg.OptionAck(byte[] buf,
                             int offset)
| Method Detail | 
|---|
public byte getType()
getType in class RouteDsrMsg.Optionpublic int getSize()
getSize in class RouteDsrMsg.Optionpublic short getId()
public NetAddress getSourceAddress()
public NetAddress getDestAddress()
public static byte[] create(short id,
                            NetAddress src,
                            NetAddress dest)
id - the identification number of the acknowledgementsrc - the source address of the acknowledgementdest - the destination address of the acknowledgement
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||