public static final class DOFConnection.Config extends org.opendof.core.internal.core.SharedConnection.Config implements DOFImmutable, java.io.Serializable
DOFConnection.Config.Builder
or one of the other DOFConnection.Config custom builders. This class is immutable once built.
Any changes will need to be made using the Builder.Builder(Config) constructor.Modifier and Type | Class and Description |
---|---|
static class |
DOFConnection.Config.Builder
This class creates connection configurations.
|
static class |
DOFConnection.Config.BuilderAS
This class creates connection configurations for connecting to an Authentication Server.
|
static class |
DOFConnection.Config.BuilderGroup
This class creates
DOFConnection.Type.GROUP connection configurations. |
static class |
DOFConnection.Config.BuilderHub
This class creates
DOFConnection.Type.HUB connection configurations. |
static class |
DOFConnection.Config.BuilderPoint
This class creates
DOFConnection.Type.POINT connection configurations. |
static class |
DOFConnection.Config.BuilderSecureDatagram
This class creates secure
DOFConnection.Type.DATAGRAM connection configurations. |
static class |
DOFConnection.Config.BuilderSecureStream
This class creates secure
DOFConnection.Type.STREAM connection configurations. |
static class |
DOFConnection.Config.BuilderStateless
This class creates unsecure
DOFConnection.Type.DATAGRAM_STATELESS connection configurations. |
static class |
DOFConnection.Config.BuilderUnsecureDatagram
This class creates unsecure
DOFConnection.Type.DATAGRAM connection configurations. |
static class |
DOFConnection.Config.BuilderUnsecureMulticast
This class creates unsecure multicast
DOFConnection.Type.DATAGRAM connection configurations. |
static class |
DOFConnection.Config.BuilderUnsecureStream
This class creates unsecure
DOFConnection.Type.STREAM connection configurations. |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HUB_POINT_MAX_RECEIVE_SILENCE
The default max receive silence for
DOFConnection.Type.HUB and DOFConnection.Type.POINT connections. |
static int |
DEFAULT_HUB_POINT_MAX_SEND_SILENCE |
static int |
DEFAULT_MAX_RECEIVE_SILENCE
The default max receive silence.
|
static int |
DEFAULT_MAX_SEND_SILENCE
The default max send silence.
|
static int |
MIN_RECOMMENDED_SILENCE_DIFFERENCE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
DOFAddress |
getAddress()
Return the target address of the connection.
|
DOFAuditListener |
getAuditListener()
Return the audit listener of the connection.
|
DOFOperation.Bridge.Config |
getBridge()
Get this connection's bridge.
|
DOFConnection.Type |
getConnectionType()
Return the type of the connection.
|
DOFCredentials |
getCredentials()
Return the credentials associated with a connection, or null if the connection
is not secure.
|
DOFCredentials |
getDomainDiscoveryCredentials()
Return the domain discovery credentials for this connection.
|
java.util.List<DOFDomain.Config> |
getDomains()
Get credentials all domains.
|
int |
getMaxReceiveSilence()
Return the maximum receive silence.
|
int |
getMaxSendSilence()
Return the maximum send silence time.
|
java.lang.String |
getName()
Get this connection's name.
|
DOFPermissionSet |
getPermissions()
Return the permissions of the connection.
|
DOFProtocolNegotiator |
getProtocolNegotiator()
Return the protocol negotiator.
|
DOFOperation.Filter |
getReceiveFilter()
Return the connection's receive filter.
|
DOF.SecurityDesire |
getSecurityDesire()
Return the security desire of the connection.
|
DOFOperation.Filter |
getSendFilter()
Return the connection's send filter.
|
DOFConnection.StreamRequestListener |
getStreamRequestListener()
Get this connection's stream-request listener.
|
org.opendof.core.transport.ConnectionConfig |
getTransportConfig()
Return the transport configuration associated with the connection.
|
java.util.List<DOFObjectID.Domain> |
getTrustedDomains()
Get this config trusted domain identifiers.
|
int |
hashCode() |
boolean |
isPermissionsExtendAllowed()
Determine whether or not the connection is allowed to request additional permissions
from the Authentication Server aside from the initial permission set.
|
boolean |
isTunnelDomains()
Determine whether or not the connection is allowed tunnel remote domains.
|
java.lang.String |
toString() |
public static final int DEFAULT_MAX_SEND_SILENCE
public static final int DEFAULT_MAX_RECEIVE_SILENCE
public static final int MIN_RECOMMENDED_SILENCE_DIFFERENCE
public static final int DEFAULT_HUB_POINT_MAX_RECEIVE_SILENCE
DOFConnection.Type.HUB
and DOFConnection.Type.POINT
connections.public static final int DEFAULT_HUB_POINT_MAX_SEND_SILENCE
public DOFConnection.Type getConnectionType()
public DOFAddress getAddress()
public DOFAuditListener getAuditListener()
public DOF.SecurityDesire getSecurityDesire()
public DOFOperation.Bridge.Config getBridge()
public DOFOperation.Filter getSendFilter()
public DOFOperation.Filter getReceiveFilter()
public DOFPermissionSet getPermissions()
public DOFCredentials getCredentials()
public DOFCredentials getDomainDiscoveryCredentials()
public java.util.List<DOFObjectID.Domain> getTrustedDomains()
public java.util.List<DOFDomain.Config> getDomains()
DOFConnection.Config.Builder.addDomains(org.opendof.core.oal.DOFDomain.Config...)
.public int getMaxSendSilence()
public int getMaxReceiveSilence()
public DOFProtocolNegotiator getProtocolNegotiator()
public org.opendof.core.transport.ConnectionConfig getTransportConfig()
public java.lang.String getName()
public DOFConnection.StreamRequestListener getStreamRequestListener()
public boolean isPermissionsExtendAllowed()
public boolean isTunnelDomains()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class org.opendof.core.internal.core.SharedConnection.Config
public boolean equals(java.lang.Object obj)
equals
in class org.opendof.core.internal.core.SharedConnection.Config