OpenDOF Project
Typedefs | Functions
DOFServerConfig
DOFServer

The DOFServerConfig class represents most of the information necessary for a DOF to create a server. More...

Typedefs

typedef struct DOFServerConfig_t * DOFServerConfig
 Immutable Server configuration.
 
typedef struct
DOFServerConfigBuilder_t * 
DOFServerConfigBuilder
 Server configuration builder.
 

Functions

DOFServerType DOFServerConfig_GetServerType (const DOFServerConfig self)
 Gets the Server type for the given DOFServerConfig.
 
DOFAddress DOFServerConfig_GetAddress (const DOFServerConfig self)
 Gets the DOFAddress for the given DOFServerConfig.
 
DOFSecurityDesire DOFServerConfig_GetSecurityDesire (const DOFServerConfig self)
 Gets the DOFSecurityDesire from the given DOFServerConfig.
 
DTLServerConfig DOFServerConfig_GetTransportConfig (const DOFServerConfig self)
 Gets the DTLServerConfig for the given DOFServerConfig.
 
DOFCredentials DOFServerConfig_GetWildcardCredentials (const DOFServerConfig self)
 Gets the wildcard credentials set in the DOFServerConfig.
 
DOFCredentials DOFServerConfig_GetDomainDiscoveryCredentials (const DOFServerConfig self)
 Gets the domain wildcard credentials set in the DOFServerConfig.
 
DOFProtocolNegotiator DOFServerConfig_GetProtocolNegotiator (const DOFServerConfig self)
 Gets the current DOFProtocolNegotiator for the DOFServerConfig.
 
uint32 DOFServerConfig_GetMaxSendSilence (const DOFServerConfig self)
 Gets the current maximum send silence time in this DOFServerConfig.
 
uint32 DOFServerConfig_GetMaxReceiveSilence (const DOFServerConfig self)
 Gets the current maximum receive silence time in this DOFServerConfig.
 
uint32 DOFServerConfig_GetConnectionLimit (const DOFServerConfig self)
 Gets the maximum number of inbound connections in the DOFServerConfig.
 
DOFOperationFilter DOFServerConfig_GetReceiveFilter (DOFServerConfig const self)
 Retrieves the DOFOperationFilter applied to inbound DOFOperations.
 
DOFOperationFilter DOFServerConfig_GetSendFilter (DOFServerConfig const self)
 Retrieves the DOFOperationFilter applied to outbound DOFOperations.
 
DOFOperationBridgeConfig DOFServerConfig_GetBridge (DOFServerConfig const self)
 Retrieves the DOFOperationBridgeConfig used by a DOFServerConfig.
 
void DOFServerConfig_Destroy (DOFServerConfig self)
 Destroys a DOFServerConfig instance.
 

Builder

DOFServerConfigBuilder DOFServerConfigBuilder_Create (DOFServerType type, DOFAddress listenAddress)
 Creates a server configuration builder, given the DOFServerType and the listening address.
 
DOFServerConfigBuilder DOFServerConfigBuilder_Create_Config (DOFServerConfig config)
 Creates a server configuration builder, given an existing server configuration.
 
DOFServerConfigBuilder DOFServerConfigBuilder_Create_State (DOFServerState config)
 Creates a server configuration builder, given an existing server state.
 
DOFServerConfigBuilder DOFServerConfigBuilder_Copy (DOFServerConfigBuilder self)
 Creates a new copy of an existing DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetServerType (DOFServerConfigBuilder self, DOFServerType type)
 Sets the server type in the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetAddress (DOFServerConfigBuilder self, DOFAddress listenAddress)
 Sets the DOFAddress in the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetSecurityDesire (DOFServerConfigBuilder self, DOFSecurityDesire desire)
 Sets the DOFSecurityDesire in the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetTransportConfig (DOFServerConfigBuilder self, DTLServerConfig config)
 Sets the DTLServerConfig in the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetConnectionLimit (DOFServerConfigBuilder self, uint32 maxConnections)
 Sets the maximum number of inbound connections in the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_AddCredentials (DOFServerConfigBuilder self, DOFCredentials credentials)
 Adds Credentials to the ServerConfigBuiler for the given domain.
 
boolean DOFServerConfigBuilder_SetWildcardCredentials (const DOFServerConfigBuilder self, DOFCredentials credentials)
 Sets the wildcard credentials for the server.
 
boolean DOFServerConfigBuilder_AddDomain (const DOFServerConfigBuilder self, DOFDomainConfig domain)
 Adds credentials to validate that an inbound connection established by the server may be to an authorized AS (one able to process authentication requests) for a domain.
 
boolean DOFServerConfigBuilder_SetDomainDiscoveryCredentials (const DOFServerConfigBuilder self, DOFCredentials credentials)
 Sets the domain wildcard credentials for the server.
 
boolean DOFServerConfigBuilder_AddTrustedDomain (const DOFServerConfigBuilder self, DOFObjectIDDomain domainID)
 Indicates that resulting inbound connections are a trusted route to an authorized AS (one able to process authentication requests) for a domain.
 
boolean DOFServerConfigBuilder_SetProtocolNegotiator (DOFServerConfigBuilder self, DOFProtocolNegotiator negotiator)
 Sets the DOFProtocolNegotiator for the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetMaxSendSilence (DOFServerConfigBuilder self, uint32 maxSilence)
 Sets the maximum time allowed to be silent before a packet must be sent for the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetMaxReceiveSilence (DOFServerConfigBuilder self, uint32 maxSilence)
 Sets the maximum time allowed to be silent before a packet must be received for the given DOFServerConfigBuilder.
 
boolean DOFServerConfigBuilder_SetReceiveFilter (DOFServerConfigBuilder self, DOFOperationFilter filter)
 Sets the DOFOperationFilter this DOFServerConfigBuilder will use for inbound DOFOperaitons.
 
boolean DOFServerConfigBuilder_SetSendFilter (DOFServerConfigBuilder self, DOFOperationFilter filter)
 Sets the DOFOperationFilter this DOFServerConfigBuilder will use for outbound DOFOperaitons.
 
boolean DOFServerConfigBuilder_SetBridge (DOFServerConfigBuilder self, DOFOperationBridgeConfig bridge)
 Sets the DOFOperationBridgeConfig this DOFServerConfigBuilder will use for security mapping.
 
void DOFServerConfigBuilder_Destroy (DOFServerConfigBuilder self)
 Destroys the DOFServerConfigBuilder instance.
 
DOFServerConfig DOFServerConfigBuilder_Build (DOFServerConfigBuilder self)
 Builds an immutable DOFServerConfig from this DOFServerConfigBuilder instance.
 
DOFServerConfig DOFServerConfigBuilder_BuildAndDestroy (DOFServerConfigBuilder self)
 Builds an immutable DOFServerConfig from this DOFServerConfigBuilder instance, then destroy this DOFServerConfigBuilder instance.
 

Detailed Description

The DOFServerConfig class represents most of the information necessary for a DOF to create a server.

core-c-dof-oal Version 8.0.1 Build 0
2018-01-22