com.caucho.network.listen
Interface Protocol

All Known Implementing Classes:
AbstractHttpProtocol, AbstractProtocol, FastCgiProtocol, HmtpProtocol, HmuxProtocol, HttpProtocol, MemcachedProtocol, ProtocolConfig, SnmpProtocol, SocketPolicyProtocol, StompProtocol, XmppProtocol

public interface Protocol

Protocol factory responsible for creating new protocol connection objects. Each protocol connection corresponds to a stream/socket connection.


Method Summary
 ProtocolConnection createConnection(SocketLink link)
          Creates a new protocol connection.
 java.lang.String getProtocolName()
          Returns the protocol name.
 

Method Detail

getProtocolName

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


createConnection

ProtocolConnection createConnection(SocketLink link)
Creates a new protocol connection.