    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface w3c.www.mux.MuxProtocolHandler

public interface MuxProtocolHandler

A proposed base class for protocol handlers. This base class is to be used in conjunction with the default Mux stream handler. You are free to redefine another stream handler and use your own protocol handler interface.

See Also:
  SampleMuxHandler

##

initialize(MuxSession)
  Start speaking the protocol you handle on that session.

##

initialize

     public abstract void initialize(MuxSession session) throws IOException

  Start speaking the protocol you handle on that session. Feel free to start a thread, or whatever is needed.

  Parameters:
    session - The session devoted to speak your protocol.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index