com.caucho.server.hmux
Class HmuxProtocol

java.lang.Object
  extended by com.caucho.server.port.Protocol
      extended by com.caucho.server.hmux.HmuxProtocol
All Implemented Interfaces:
RequestFactory

public class HmuxProtocol
extends Protocol

Dispatches the HMUX protocol.

See Also:
Protocol

Constructor Summary
HmuxProtocol()
           
 
Method Summary
 ServerRequest createRequest(Connection conn)
          Create a HmuxRequest object for the new thread.
 java.lang.ClassLoader getClassLoader()
           
 HmuxExtension getExtension(java.lang.Integer id)
           
static HmuxProtocol getLocal()
           
 java.lang.String getProtocolName()
          Returns the protocol name.
 void putExtension(java.lang.Integer id, HmuxExtension extension)
           
 void setProtocolName(java.lang.String name)
          Sets the protocol name.
 
Methods inherited from class com.caucho.server.port.Protocol
addText, getPort, getServer, setParent, setServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HmuxProtocol

public HmuxProtocol()
Method Detail

getLocal

public static HmuxProtocol getLocal()

getProtocolName

public java.lang.String getProtocolName()
Returns the protocol name.

Specified by:
getProtocolName in interface RequestFactory
Overrides:
getProtocolName in class Protocol

setProtocolName

public void setProtocolName(java.lang.String name)
Sets the protocol name.

Overrides:
setProtocolName in class Protocol

createRequest

public ServerRequest createRequest(Connection conn)
Create a HmuxRequest object for the new thread.

Specified by:
createRequest in interface RequestFactory
Overrides:
createRequest in class Protocol

getClassLoader

public java.lang.ClassLoader getClassLoader()

getExtension

public HmuxExtension getExtension(java.lang.Integer id)

putExtension

public void putExtension(java.lang.Integer id,
                         HmuxExtension extension)