public class AUTH extends Protocol
| Constructor and Description |
|---|
AUTH() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
down(Event evt)
An event is to be sent down the stack.
|
java.lang.String |
getAuthClass() |
protected java.util.List<java.lang.Object> |
getConfigurableObjects()
After configuring the protocol itself from the properties defined in the XML config, a protocol might have
additional objects which need to be configured.
|
void |
init()
Called after instance has been created (null constructor) and before protocol is started.
|
protected void |
sendJoinRejectionMessage(Address dest,
java.lang.String error_msg) |
protected void |
sendMergeRejectionMessage(Address dest,
java.lang.String error_msg) |
protected void |
sendRejectionMessage(byte type,
Address dest,
java.lang.String error_msg) |
void |
setAuthClass(java.lang.String class_name) |
java.lang.Object |
up(Event evt)
An event was received from the layer below.
|
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getId, getLevel, getName, getProperties, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getValue, isErgonomics, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setErgonomics, setId, setLevel, setProperties, setPropertiesInternal, setProperty, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled, stop, upThreadEnabledpublic void setAuthClass(java.lang.String class_name)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getAuthClass()
protected java.util.List<java.lang.Object> getConfigurableObjects()
ProtocolgetConfigurableObjects in class Protocolpublic void init()
throws java.lang.Exception
Protocolpublic java.lang.Object up(Event evt)
down_prot.down() or c) the event (or another event) is sent up
the stack using up_prot.up().protected void sendRejectionMessage(byte type,
Address dest,
java.lang.String error_msg)
protected void sendJoinRejectionMessage(Address dest, java.lang.String error_msg)
protected void sendMergeRejectionMessage(Address dest, java.lang.String error_msg)
public java.lang.Object down(Event evt)
down_prot.down(). In case of a GET_ADDRESS event (which tries to
retrieve the stack's address from one of the bottom layers), the layer may need to send
a new response event back up the stack using up_prot.up().Copyright ? 1998-2009 Bela Ban / Red Hat. All Rights Reserved.