com.caucho.server.cluster
Class ProtocolConfig

java.lang.Object
  extended by com.caucho.network.listen.AbstractProtocol
      extended by com.caucho.server.cluster.ProtocolConfig
All Implemented Interfaces:
Protocol

public class ProtocolConfig
extends AbstractProtocol

Represents a protocol connection.


Constructor Summary
ProtocolConfig()
           
 
Method Summary
 void addText(java.lang.String text)
          Sets the protocol name.
 ProtocolConnection createConnection(SocketLink 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.network.listen.AbstractProtocol
getClassLoader, getProtocolName, setProtocolName
 
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.


getId

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


getProtocol

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


createConnection

public ProtocolConnection createConnection(SocketLink conn)
Create a Request object for the new thread.

Specified by:
createConnection in interface Protocol
Specified by:
createConnection in class AbstractProtocol