|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface RouteInterface.Dsr
DSR routing entity interface.
Nested Class Summary | |
---|---|
static class |
RouteInterface.Dsr.BufferedPacket
Contains a packet and the time it was inserted into the buffer. |
Nested classes/interfaces inherited from interface jist.swans.route.RouteInterface |
---|
RouteInterface.Aodv, RouteInterface.Dsr, RouteInterface.Zrp |
Method Summary | |
---|---|
void |
AddRouteReplyEntry(NetAddress originator,
NetAddress lastHop)
Adds an entry into the gratuitous route reply table. |
void |
DeleteBuffer(RouteInterface.Dsr.BufferedPacket packet)
Removes an entry from the send buffer. |
void |
DeleteRouteReplyEntry(NetAddress originator,
NetAddress lastHop)
Removes an entry from the gratuitous route reply table. |
void |
DiscoverRoute(NetAddress dest,
short requestId)
Initiates route discovery for the given destination. |
void |
InsertBuffer(NetMessage.Ip msg)
Inserts an packet into the send buffer. |
void |
TransmitWithNetworkAck(NetMessage.Ip msg,
java.lang.Short ackId,
long timeout,
int numRetransmits)
Transmits the given packet with a request for a network-level acknowledgement. |
void |
TransmitWithPassiveAck(NetMessage.Ip msg,
int numRetransmits)
Transmits the given packet and waits for a passive acknowledgement. |
Methods inherited from interface jist.swans.route.RouteInterface |
---|
peek, send |
Methods inherited from interface jist.swans.net.NetInterface.NetHandler |
---|
receive |
Method Detail |
---|
void DiscoverRoute(NetAddress dest, short requestId)
dest
- the destination to which a route is being soughtrequestId
- the ID number of this route discoveryvoid TransmitWithNetworkAck(NetMessage.Ip msg, java.lang.Short ackId, long timeout, int numRetransmits)
msg
- the message to sendackId
- the ID number of the acknowledgement requesttimeout
- the timeout before retransmitting the packetnumRetransmits
- the number of times msg
has
already been retransmittedvoid TransmitWithPassiveAck(NetMessage.Ip msg, int numRetransmits)
TRY_PASSIVE_ACKS
attempts, the packet is retransmitted
with a request for a network-level acknowledgement.
msg
- the message to be sentnumRetransmits
- the number of times msg
has already
been retransmittedvoid AddRouteReplyEntry(NetAddress originator, NetAddress lastHop)
originator
- the originator of the packet being replied tolastHop
- the last-hop address of the packet being replied tovoid DeleteRouteReplyEntry(NetAddress originator, NetAddress lastHop)
originator
- the originator of the packet being removedlastHop
- the last-hop address of the packet being removedvoid InsertBuffer(NetMessage.Ip msg)
msg
- the packet to insert into the send buffervoid DeleteBuffer(RouteInterface.Dsr.BufferedPacket packet)
packet
- the BufferedPacket
to be removed from the
send buffer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |