|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hypercast.I_MessageStoreFSM | +--hypercast.MessageStoreFSM_Incast
This class is a finite state machine which handles Incast.
Field Summary | |
static byte |
Done
The state of the message,Done |
static byte |
Init
The state of the message,Init |
static byte |
PAYLOAD
ADF_Payload for InCast |
static byte |
Wait
The state of the message,Wait for ACK |
Constructor Summary | |
MessageStoreFSM_Incast(hypercast.OL_Socket socket,
hypercast.MessageStore MStore,
hypercast.HyperCastConfig config)
Constructs a MessageStoreFSM_Incast object with OL_Socket and MessageStore. |
Method Summary | |
void |
changingNeighbor()
This method is used to adapt the dynamically changing tree structure of the overlay topology. |
short |
getFSMID()
Get the service number of the finite state machine |
void |
newACMsg(hypercast.OL_Message msg)
process new ADF_Control message |
void |
newADMsg(hypercast.OL_Message msg)
process new ADF_Data message |
void |
timerExpired(int timerIndex)
process the timer expired events |
void |
updateACMsg(hypercast.OL_Message msg)
process new ADF_Control message |
void |
updateADMsg(hypercast.OL_Message msg)
Update new ADF_Data message |
Methods inherited from class hypercast.I_MessageStoreFSM |
receiveControlMessage, receiveDataMessage, timerExpired |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte PAYLOAD
public static final byte Init
public static final byte Wait
public static final byte Done
Constructor Detail |
public MessageStoreFSM_Incast(hypercast.OL_Socket socket, hypercast.MessageStore MStore, hypercast.HyperCastConfig config)
Method Detail |
public void changingNeighbor()
changingNeighbor
in class I_MessageStoreFSM
public short getFSMID()
I_MessageStoreFSM
getFSMID
in class I_MessageStoreFSM
public void newADMsg(hypercast.OL_Message msg)
newADMsg
in class I_MessageStoreFSM
msg
- OL_Messagepublic void newACMsg(hypercast.OL_Message msg)
newACMsg
in class I_MessageStoreFSM
msg
- OL_Messagepublic void updateADMsg(hypercast.OL_Message msg)
updateADMsg
in class I_MessageStoreFSM
msg
- OL_Messagepublic void updateACMsg(hypercast.OL_Message msg)
updateACMsg
in class I_MessageStoreFSM
msg
- OL_Messagepublic void timerExpired(int timerIndex)
timerExpired
in class I_MessageStoreFSM
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |