|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MuxStreamHandler
Method Summary | |
---|---|
boolean |
acceptSession(MuxStream stream,
int sessid,
int protid)
Someone has contacted us to speak that protocol, what should we do ? This method gets called by a MuxStream instance when a new session willing to speak some protocol is about to be established. |
void |
notifySession(MuxSession session)
A new session has been accepted, and is now ready to run. |
Method Detail |
---|
boolean acceptSession(MuxStream stream, int sessid, int protid)
stream
- The stream on which that new session establishment was
received.sessid
- The proposed session identifier for that new session.protid
- The protocol identifier of the protocol to be
spoken on that session.void notifySession(MuxSession session)
session
- The session that has been accepted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |