|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_init (void) |
| Initialize a new remote server builder.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_reset (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder) |
| Reset the builder.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_retry_delay (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, int delay_ms, DIFFUSION_API_ERROR *api_error) |
| Specifies the delay after losing a connection before attempting a reconnection.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_principal (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, char *principal) |
| Specifies the name of a principal used by the remote server to connect to the primary server.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_credentials (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, CREDENTIALS_T *credentials) |
| Specifies the credentials to use when connecting to the primary server.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_connection_option (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, DIFFUSION_REMOTE_SERVER_CONNECTION_OPTION_T option, char *value) |
| Specifies a single connection option.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_connection_options (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, HASH_NUM_T *connection_options) |
| Specifies a map of DIFFUSION_REMOTE_SERVER_CONNECTION_OPTION_T settings.
|
DIFFUSION_REMOTE_SERVER_BUILDER_T * | diffusion_remote_server_builder_missing_topic_notification_filter (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, char *filter) |
| Specifies a topic selector expression which will filter missing topic notifications propagated from secondary to primary server.
|
void | diffusion_remote_server_builder_free (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder) |
| Free a remote server builder.
|
DIFFUSION_REMOTE_SERVER_T * | diffusion_remote_server_builder_create_primary_initiator (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, char *name, LIST_T *urls, char *connector, DIFFUSION_API_ERROR *api_error) |
| Builds a primary initiator using the current values known to this builder.
|
DIFFUSION_REMOTE_SERVER_T * | diffusion_remote_server_builder_create_secondary_initiator (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, char *name, char *url, DIFFUSION_API_ERROR *api_error) |
| Builds a secondary initiator using the current values known to this builder.
|
DIFFUSION_REMOTE_SERVER_T * | diffusion_remote_server_builder_create_secondary_acceptor (DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, char *name, char *primary_host_name, DIFFUSION_API_ERROR *api_error) |
| Builds a secondary acceptor using the current values known to this builder.
|
| DEPRECATED (DIFFUSION_REMOTE_SERVER_T *diffusion_remote_server_builder_create(DIFFUSION_REMOTE_SERVER_BUILDER_T *builder, char *name, char *url, DIFFUSION_API_ERROR *api_error)) |
| Creates a remote server struct using the current values known to this builder.
|
Specifies a topic selector expression which will filter missing topic notifications propagated from secondary to primary server.
Missing topic notifications
are notified when a client subscribes using a topic selector that matches no existing topics. By specifying a missing topic selector filter, all notifications that match the filter on the secondary server will be propagated to the primary server.
A match occurs if the path prefix of the subscription selector matches the path prefix of the specified selector. If no filter is specified then no missing topic notifications will be propagated.
The special selector expressions *.* may be used to indicate that all missing topic notifications should be propagated.
Only the path prefix of the specified selector(s) is considered when matching, therefore any use of regular expressions would be ignored.
- Parameters
-
builder | the remote server builder. |
filter | a topic selector expression specifying the filter to apply, or NULL to remove any existing filter. |
- Returns
- the remote server builder.
- Since
- 6.7