| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjist.swans.mac.MacMessage
jist.swans.mac.MacMessage.Rts
public static class MacMessage.Rts
An 802_11 Request-To-Send packet.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class jist.swans.mac.MacMessage | 
|---|
| MacMessage.Ack, MacMessage.Cts, MacMessage.Data, MacMessage.Rts | 
| Field Summary | |
|---|---|
| static int | SIZERTS packet size. | 
| Fields inherited from class jist.swans.mac.MacMessage | 
|---|
| TYPE_ACK, TYPE_CTS, TYPE_DATA, TYPE_RTS | 
| Fields inherited from interface jist.swans.misc.Message | 
|---|
| NULL | 
| Constructor Summary | |
|---|---|
| MacMessage.Rts(MacAddress dst,
               MacAddress src,
               int duration)Create an 802_11 RTS packet. | |
| Method Summary | |
|---|---|
|  void | getBytes(byte[] msg,
         int offset)Store packet into byte array. | 
|  MacAddress | getDst()Return packet destination address. | 
|  int | getDuration()Return packet transmission duration. | 
|  int | getSize()Return packet size or Constants.ZERO_WIRE_SIZE. | 
|  MacAddress | getSrc()Return packet source address. | 
| Methods inherited from class jist.swans.mac.MacMessage | 
|---|
| getRetry, getType | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int SIZE
| Constructor Detail | 
|---|
public MacMessage.Rts(MacAddress dst,
                      MacAddress src,
                      int duration)
dst - packet destination addresssrc - packet source addressduration - packet transmission duration| Method Detail | 
|---|
public MacAddress getDst()
getDst in class MacMessagepublic MacAddress getSrc()
public int getDuration()
getDuration in class MacMessagepublic int getSize()
public void getBytes(byte[] msg,
                     int offset)
msg - destination byte arrayoffset - byte array starting offset| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||