public class ConnectionHandlerDescriptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionHandlerDescriptor.Protocol
Enumeration used to represent the Protocol of the listener.
|
static class |
ConnectionHandlerDescriptor.State
Enumeration used to represent the state of the listener.
|
Constructor and Description |
---|
ConnectionHandlerDescriptor(Collection<InetAddress> addresses,
int port,
ConnectionHandlerDescriptor.Protocol protocol,
ConnectionHandlerDescriptor.State state,
String name,
Set<org.forgerock.opendj.ldap.messages.SearchResultEntry> monitoringEntries)
Constructor for the connection handler..
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
SortedSet<InetAddress> |
getAddresses()
Returns the address port representation of the listener.
|
Set<org.forgerock.opendj.ldap.messages.SearchResultEntry> |
getMonitoringEntries()
Returns the monitoring entries.
|
String |
getName()
Returns the name of the connection handler.
|
int |
getPort()
Returns the port of the connection handler.
|
ConnectionHandlerDescriptor.Protocol |
getProtocol()
Returns the protocol of the listener.
|
ConnectionHandlerDescriptor.State |
getState()
Returns the state of the listener.
|
int |
hashCode() |
void |
setMonitoringEntries(Set<org.forgerock.opendj.ldap.messages.SearchResultEntry> monitoringEntries)
Sets the monitoring entries.
|
String |
toString() |
public ConnectionHandlerDescriptor(Collection<InetAddress> addresses, int port, ConnectionHandlerDescriptor.Protocol protocol, ConnectionHandlerDescriptor.State state, String name, Set<org.forgerock.opendj.ldap.messages.SearchResultEntry> monitoringEntries)
addresses
- the list of InetAdresses of the listener.port
- the port of the connection handler.protocol
- the protocol of the listener.state
- the state of the connection handler (enabled, disabled, etc.).name
- the name of the listener.monitoringEntries
- the LDAP entries containing the monitoring
information.public SortedSet<InetAddress> getAddresses()
public ConnectionHandlerDescriptor.Protocol getProtocol()
public ConnectionHandlerDescriptor.State getState()
public Set<org.forgerock.opendj.ldap.messages.SearchResultEntry> getMonitoringEntries()
public void setMonitoringEntries(Set<org.forgerock.opendj.ldap.messages.SearchResultEntry> monitoringEntries)
monitoringEntries
- the monitoring entries.public int getPort()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.