|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionHandlerCfg
A server-side interface for querying Connection Handler settings.
Connection Handlers are responsible for handling all interaction with the clients, including accepting the connections, reading requests, and sending responses.
Method Summary | |
---|---|
void |
addChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
Register to be notified when this Connection Handler is changed. |
java.lang.Class<? extends ConnectionHandlerCfg> |
configurationClass()
Gets the configuration class associated with this Connection Handler. |
java.util.SortedSet<AddressMask> |
getAllowedClient()
Gets the "allowed-client" property. |
java.util.SortedSet<AddressMask> |
getDeniedClient()
Gets the "denied-client" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
boolean |
isEnabled()
Gets the "enabled" property. |
void |
removeChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
Deregister an existing Connection Handler configuration change listener. |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends ConnectionHandlerCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
listener
- The Connection Handler configuration change listener.void removeChangeListener(ConfigurationChangeListener<ConnectionHandlerCfg> listener)
listener
- The Connection Handler configuration change listener.java.util.SortedSet<AddressMask> getAllowedClient()
Specifies a set of address masks that determines the addresses of the clients that are allowed to establish connections to this connection handler.
java.util.SortedSet<AddressMask> getDeniedClient()
Specifies a set of address masks that determines the addresses of the clients that are not allowed to establish connections to this connection handler.
If both allowed and denied client masks are defined and a client connection matches one or more masks in both lists, then the connection is denied. If only a denied list is specified, then any client not matching a mask in that list is allowed.
boolean isEnabled()
Indicates whether the Connection Handler is enabled.
java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Connection Handler implementation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |