| org.w3c.www.mux.MuxStreamHandler
All known Subclasses: org.w3c.www.mux.tests.EchoServerStreamHandler, org.w3c.www.mux.SampleMuxHandler,
MuxStreamHandler | public interface MuxStreamHandler (Code) | | |
Method Summary | |
public 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. | public void | notifySession(MuxSession session) A new session has been accepted, and is now ready to run. |
acceptSession | public boolean acceptSession(MuxStream stream, int sessid, int protid)(Code) | | 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.
Parameters: stream - The stream on which that new session establishment wasreceived. Parameters: sessid - The proposed session identifier for that new session. Parameters: protid - The protocol identifier of the protocol to bespoken on that session. |
notifySession | public void notifySession(MuxSession session)(Code) | | A new session has been accepted, and is now ready to run.
This method should setup an appropriate protocol handler to deal with
the protocol specific to the given session.
Parameters: session - The session that has been accepted. |
|
|