com.caucho.server.port
Class ProtocolConfig

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

public class ProtocolConfig
extends Protocol

Represents a protocol connection.


Constructor Summary
ProtocolConfig()
           
 
Method Summary
 void addText(java.lang.String text)
          Sets the protocol name.
 ServerRequest createRequest(Connection conn)
          Create a Request object for the new thread.
 java.lang.String getId()
          Returns the protocol name.
 java.lang.String getProtocol()
          Returns the protocol name.
 void setId(java.lang.String text)
          Sets the protocol name.
 
Methods inherited from class com.caucho.server.port.Protocol
getPort, getProtocolName, getServer, setParent, setProtocolName, setServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolConfig

public ProtocolConfig()
Method Detail

setId

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


addText

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

Overrides:
addText in class Protocol

getId

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


getProtocol

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


createRequest

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

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