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)
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.
|
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() |
String |
toString() |
public ConnectionHandlerDescriptor(Collection<InetAddress> addresses, int port, ConnectionHandlerDescriptor.Protocol protocol, ConnectionHandlerDescriptor.State state, String name)
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.public SortedSet<InetAddress> getAddresses()
public ConnectionHandlerDescriptor.Protocol getProtocol()
public ConnectionHandlerDescriptor.State getState()
public int getPort()
public String getName()
Copyright 2010-2018 ForgeRock AS.