org.w3c.jigsaw.http.mux
Class MuxHttpHandler
java.lang.Object
org.w3c.jigsaw.http.mux.MuxHttpHandler
- All Implemented Interfaces:
- MuxProtocolHandler
public class MuxHttpHandler
- extends java.lang.Object
- implements MuxProtocolHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected httpd server
cid
protected int cid
clientcount
protected int clientcount
maxclient
protected int maxclient
threadcache
protected ThreadCache threadcache
freelist
protected MuxClient freelist
MuxHttpHandler
public MuxHttpHandler(httpd server)
markIdle
protected void markIdle(MuxClient client)
getClient
protected MuxClient getClient()
initialize
public void initialize(MuxSession session)
throws java.io.IOException
- Description copied from interface:
MuxProtocolHandler
- Start speaking the protocol you handle on that session.
Feel free to start a thread, or whatever is needed.
- Specified by:
initialize
in interface MuxProtocolHandler
- Parameters:
session
- The session devoted to speak your protocol.
- Throws:
java.io.IOException