Documentation
¶
Overview ¶
Package dda provides a ready-to-use Data Distribution Agent (DDA).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dda ¶
type Dda struct {
// contains filtered or unexported fields
}
Dda represents a Data Distribution Agent with peripheral services and public client APIs. It must be created with New() to ensure that all services and APIs are correctly initialized.
func New ¶
New creates a *Dda structure with DDA services and APIs initialized from the given configuration. An error is returned if the given configuration is invalid or if one of the DDA services or APIs cannot be initialized.
To start the initialized DDA services and APIs invoke Open on the returned *Dda structure.
func (*Dda) Close ¶
func (d *Dda) Close()
Close synchronously shuts down all configured DDA services and APIs gracefully and releases associated resources.
func (*Dda) Open ¶
Open starts all configured DDA services and APIs and blocks waiting for them to be ready for use. An error is returned if some DDA services or APIs cannot be started, or if the given timeout elapses before setup of a single service or API completes. Specify a zero timeout to disable preliminary timeout behavior.