All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.www.mux.MuxStreamHandler

public interface MuxStreamHandler

Method Index

 o acceptSession(MuxStream, int, int)
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.
 o notifySession(MuxSession)
A new session has been accepted, and is now ready to run.

Methods

 o acceptSession
 public abstract 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.

Parameters:
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.
 o notifySession
 public abstract void notifySession(MuxSession session)
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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index