|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionHandlerCfgClient
A client-side interface for reading and modifying 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 | |
---|---|
ManagedObjectDefinition<? extends ConnectionHandlerCfgClient,? extends ConnectionHandlerCfg> |
definition()
Get the configuration definition 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. |
java.lang.Boolean |
isEnabled()
Gets the "enabled" property. |
void |
setAllowedClient(java.util.Collection<AddressMask> values)
Sets the "allowed-client" property. |
void |
setDeniedClient(java.util.Collection<AddressMask> values)
Sets the "denied-client" property. |
void |
setEnabled(boolean value)
Sets the "enabled" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends ConnectionHandlerCfgClient,? extends ConnectionHandlerCfg> definition()
definition
in interface ConfigurationClient
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.
void setAllowedClient(java.util.Collection<AddressMask> values) throws IllegalPropertyValueException
Specifies a set of address masks that determines the addresses of the clients that are allowed to establish connections to this connection handler.
values
- The values of the "allowed-client" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.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.
void setDeniedClient(java.util.Collection<AddressMask> values) throws IllegalPropertyValueException
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.
values
- The values of the "denied-client" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.Boolean isEnabled()
Indicates whether the Connection Handler is enabled.
void setEnabled(boolean value) throws IllegalPropertyValueException
Indicates whether the Connection Handler is enabled.
value
- The value of the "enabled" property.
IllegalPropertyValueException
- If the new value is invalid.java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Connection Handler implementation.
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
Specifies the fully-qualified name of the Java class that provides the Connection Handler implementation.
value
- The value of the "java-class" property.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |