public abstract class AbstractProtocol extends java.lang.Object implements Protocol
Modifier | Constructor and Description |
---|---|
protected |
AbstractProtocol() |
Modifier and Type | Method and Description |
---|---|
abstract ProtocolConnection |
createConnection(SocketLink conn)
Create a Request object for the new thread.
|
java.lang.ClassLoader |
getClassLoader()
Returns the protocol owning classloader
|
java.lang.String |
getProtocolName()
Returns the protocol name.
|
void |
setProtocolName(java.lang.String name)
Sets the protocol name.
|
public void setProtocolName(java.lang.String name)
public java.lang.String getProtocolName()
getProtocolName
in interface Protocol
public java.lang.ClassLoader getClassLoader()
public abstract ProtocolConnection createConnection(SocketLink conn)
createConnection
in interface Protocol