public static final class DOFServer.Config extends org.opendof.core.internal.core.SharedServer.Config implements DOFImmutable, java.io.Serializable
DOFServer.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 |
DOFServer.Config.Builder
This class creates server configurations.
|
static class |
DOFServer.Config.BuilderAS
This class creates secure
DOFServer.Type.DATAGRAM server configurations. |
static class |
DOFServer.Config.BuilderSecureDatagram
This class creates secure
DOFServer.Type.DATAGRAM server configurations. |
static class |
DOFServer.Config.BuilderSecureStream
This class creates secure
DOFServer.Type.STREAM server configurations. |
static class |
DOFServer.Config.BuilderUnsecureDatagram
This class creates unsecure
DOFServer.Type.DATAGRAM server configurations. |
static class |
DOFServer.Config.BuilderUnsecureMulticast
This class creates unsecure multicast
DOFServer.Type.DATAGRAM server configurations. |
static class |
DOFServer.Config.BuilderUnsecureStream
This class creates unsecure
DOFServer.Type.STREAM server configurations. |
Modifier and Type | Method and Description |
---|---|
DOFConnection.Config |
createConnectionConfig(DOFAddress addr)
Create a connection configuration for a given address.
|
boolean |
equals(java.lang.Object obj) |
DOFAddress |
getAddress()
Get this server's listening address.
|
DOFAuditListener |
getAuditListener()
Get the server's audit listener.
|
DOFOperation.Bridge.Config |
getBridge()
Get this server's bridge.
|
int |
getConnectionLimit()
Get the maximum number of inbound connections that the server can support.
|
java.util.List<DOFCredentials> |
getCredentials()
Get this server's credentials.
|
DOFCredentialsAssigner |
getCredentialsAssigner()
Get the server's credentials assigner.
|
DOFCredentials |
getDomainDiscoveryCredentials()
Get the credentials used for remote domain discovery.
|
java.util.List<DOFDomain.Config> |
getDomains()
Get credentials all domains.
|
int |
getMaxReceiveSilence()
Get this server's max receive silence.
|
int |
getMaxSendSilence()
Get this server's max send silence.
|
java.lang.String |
getName()
Get this server's name used for logging purposes.
|
DOFPermissionSet |
getPermissions(DOFObjectID.Domain domain)
Return the permissions for a given domain.
|
DOFProtocolNegotiator |
getProtocolNegotiator()
Get this server's protocol negotiator.
|
DOFOperation.Filter |
getReceiveFilter() |
DOF.SecurityDesire |
getSecurityDesire()
Get this server's security desire.
|
DOFOperation.Filter |
getSendFilter() |
DOFServer.Type |
getServerType()
Get this server's type.
|
org.opendof.core.transport.ServerConfig |
getTransportConfig()
Get this server's transport configuration.
|
java.util.List<DOFObjectID.Domain> |
getTrustedDomains()
Get this server's trusted domain identifiers.
|
DOFCredentials |
getWildcardCredentials()
Get the credentials for a connection in any domain not specifically set using
DOFServer.Config.Builder.addCredentials(DOFCredentials...) . |
DOFPermissionSet |
getWildcardPermissions()
Return the permissions of the wildcard credential.
|
int |
hashCode() |
boolean |
isTunnelDomains()
Determine whether or connections to this server are allowed tunnel remote domains.
|
java.lang.String |
toString() |
public DOFServer.Type getServerType()
public DOFAddress getAddress()
public DOFAuditListener getAuditListener()
public DOFCredentialsAssigner getCredentialsAssigner()
public DOF.SecurityDesire getSecurityDesire()
public DOFOperation.Bridge.Config getBridge()
public DOFOperation.Filter getSendFilter()
public DOFOperation.Filter getReceiveFilter()
public DOFPermissionSet getWildcardPermissions()
public DOFPermissionSet getPermissions(DOFObjectID.Domain domain)
domain
- The domain to get permissions for.public int getMaxSendSilence()
public int getMaxReceiveSilence()
public int getConnectionLimit()
public DOFConnection.Config createConnectionConfig(DOFAddress addr)
addr
- The address to use to create the config. Must not be null.public DOFProtocolNegotiator getProtocolNegotiator()
public org.opendof.core.transport.ServerConfig getTransportConfig()
public java.lang.String getName()
public java.util.List<DOFCredentials> getCredentials()
public DOFCredentials getWildcardCredentials()
DOFServer.Config.Builder.addCredentials(DOFCredentials...)
.public DOFCredentials getDomainDiscoveryCredentials()
public java.util.List<DOFObjectID.Domain> getTrustedDomains()
public java.util.List<DOFDomain.Config> getDomains()
DOFServer.Config.Builder.addCredentials(org.opendof.core.oal.DOFCredentials...)
.public boolean isTunnelDomains()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object