com.caucho.server.hmux
Class HmuxProtocol
java.lang.Object
com.caucho.server.port.Protocol
com.caucho.server.hmux.HmuxProtocol
- All Implemented Interfaces:
- RequestFactory
public class HmuxProtocol
- extends Protocol
Dispatches the HMUX protocol.
- See Also:
Protocol
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HmuxProtocol
public HmuxProtocol()
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)