|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiplexingPolicy
This interface is the contract passed between a multiplexing policy module and the multiplexing layer. The role of a policy is to provide the multiplexing protocol with the "best-choice" network session to send a given message in.
Method Summary | |
---|---|
void |
feedback(Session_High session,
boolean success)
Informs the Policy of success or failure of a send operation on one of the Session_Highs it manages. |
Session_High |
getSession_High()
Returns the "best" Session_High in the Policy's list at the time of the asking. |
Method Detail |
---|
Session_High getSession_High()
void feedback(Session_High session, boolean success)
session
- the Session_High used for sending;success
- true if the send succeeded, false otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |