All Packages Class Hierarchy This Package Previous Next Index
Class magician.Node.SliWinAck
java.lang.Object
|
+----magician.Node.SliWinAck
- public class SliWinAck
- extends Object
- implements Serializable, PerfConstants
-
Ackee
- node to be acknowledged
-
Acker
- Node from which ack is sent
-
EventMgr
- Event manager to report on activities of this module
-
seqNo
- sequence number of current packet
-
WINDOW_SIZE
-
-
SliWinAck()
- contructor
-
sendAck(byte[])
- interface for user to send ack back to receiving node
-
waitForAck(String, ReliableCommFW)
-
interface for user to send packet
Ackee
String Ackee
- node to be acknowledged
Acker
transient String Acker
- Node from which ack is sent
seqNo
int seqNo
- sequence number of current packet
WINDOW_SIZE
static final int WINDOW_SIZE
EventMgr
transient EventManager EventMgr
- Event manager to report on activities of this module
SliWinAck
public SliWinAck()
- contructor
sendAck
public void sendAck(byte typeId[]) throws IndexOutOfBoundsException
- interface for user to send ack back to receiving node
- Parameters:
- typeId - the type of the Smartpacket
- Throws: IndexOutOfBoundsException
- if sequence number is out of order
waitForAck
public void waitForAck(String PortName,
ReliableCommFW SPObject) throws NoRouteToHostException
- interface for user to send packet
- Parameters:
- PortName - name of the next-hop active node
- SPObject - the SmartPacket object being sent
All Packages Class Hierarchy This Package Previous Next Index