Skip navigation links
A B C D E F G H I J K M N O P R S T U V W 

A

addEventCallback(String, EventCallback, boolean) - Method in class com.opendxl.client.DxlClient
Adds a EventCallback to the client for the specified topic.
addEventCallback(String, EventCallback) - Method in class com.opendxl.client.DxlClient
Adds a EventCallback to the client for the specified topic.
addMetadata(String, String) - Method in class com.opendxl.client.ServiceRegistrationInfo
Adds a name-value pair to the meta-data associated with this service
addRequestCallback(String, RequestCallback) - Method in class com.opendxl.client.DxlClient
Adds a RequestCallback to the client for the specified topic.
addResponseCallback(String, ResponseCallback) - Method in class com.opendxl.client.DxlClient
Adds a ResponseCallback to the client for the specified topic.
addTopic(String, RequestCallback) - Method in class com.opendxl.client.ServiceRegistrationInfo
Registers a topic for the service to respond to along with the RequestCallback that will be invoked.
asyncRequest(Request, ResponseCallback, long) - Method in class com.opendxl.client.DxlClient
Sends a Request message to a remote DXL service asynchronously.
asyncRequest(Request, ResponseCallback) - Method in class com.opendxl.client.DxlClient
Sends a Request message to a remote DXL service asynchronously.
asyncRequest(Request) - Method in class com.opendxl.client.DxlClient
Sends a Request message to a remote DXL service asynchronously.

B

Broker - Class in com.opendxl.client
The class Broker represents a DXL message broker.
Broker(String, int, String, String) - Constructor for class com.opendxl.client.Broker
Constructor for the Broker
Broker(String, int, String, String, boolean) - Constructor for class com.opendxl.client.Broker
Constructor for the Broker

C

CHARSET_ASCII - Static variable in class com.opendxl.client.message.Message
ASCII character encoding
CHARSET_UTF8 - Static variable in class com.opendxl.client.message.Message
UTF-8 character encoding
clone() - Method in class com.opendxl.client.Broker
Creates a clone of the Broker
close() - Method in class com.opendxl.client.DxlClient
Destroys the client (releases all associated resources).
com.opendxl.client - package com.opendxl.client
 
com.opendxl.client.callback - package com.opendxl.client.callback
 
com.opendxl.client.cli - package com.opendxl.client.cli
 
com.opendxl.client.exception - package com.opendxl.client.exception
 
com.opendxl.client.message - package com.opendxl.client.message
 
com.opendxl.client.util - package com.opendxl.client.util
 
CommandLineInterface - Class in com.opendxl.client.cli
Main class for the OpenDXL Java Client CLI commands.
compareTo(Broker) - Method in class com.opendxl.client.Broker
connect() - Method in class com.opendxl.client.DxlClient
Attempts to connect the client to the DXL fabric.
Constants - Class in com.opendxl.client
Constants that are used throughout the client
Constants() - Constructor for class com.opendxl.client.Constants
 
createDaemonExecutor(int, int, String) - Static method in class com.opendxl.client.Executors
Creates a blocking queue executor that uses daemon threads.
createDaemonExecutor(int, int) - Static method in class com.opendxl.client.Executors
Creates a blocking queue executor that uses daemon threads.
createDxlConfigFromFile(String) - Static method in class com.opendxl.client.DxlClientConfig
This method allows creation of a DxlClientConfig object from a specified configuration file.

D

disconnect() - Method in class com.opendxl.client.DxlClient
Attempts to disconnect the client from the DXL fabric.
DisconnectedStrategy - Interface in com.opendxl.client
The disconnect strategy interface allows for specifying how disconnections from the broker should be handled.
DXL_SERVICE_REGISTER_REQUEST_TOPIC - Static variable in class com.opendxl.client.Constants
The topic to publish a service registration request to
DXL_SERVICE_REGISTER_TOPIC - Static variable in class com.opendxl.client.Constants
The topic notified when services are registered
DXL_SERVICE_UNREGISTER_REQUEST_TOPIC - Static variable in class com.opendxl.client.Constants
The topic to publish a service unregistration request to
DXL_SERVICE_UNREGISTER_TOPIC - Static variable in class com.opendxl.client.Constants
The topic notified when services are unregistered
DxlClient - Class in com.opendxl.client
The DxlClient class is responsible for all communication with the Data Exchange Layer (DXL) fabric (it can be thought of as the "main" class).
DxlClient(DxlClientConfig) - Constructor for class com.opendxl.client.DxlClient
Constructor for the DxlClient
DxlClientConfig - Class in com.opendxl.client
The DxlClientConfig class holds the information necessary to connect a DxlClient to the DXL fabric.
DxlClientConfig(String, String, String, List<Broker>) - Constructor for class com.opendxl.client.DxlClientConfig
Constructs the configuration
DxlClientConfig(String, String, String, List<Broker>, List<Broker>) - Constructor for class com.opendxl.client.DxlClientConfig
Constructs the configuration
DxlErrorMessageEnum - Enum in com.opendxl.client.message
Enumeration of DXL error messages
DxlException - Exception in com.opendxl.client.exception
A general Data Exchange Layer (DXL) Exception
DxlException(String) - Constructor for exception com.opendxl.client.exception.DxlException
Constructs the exception
DxlException(String, Throwable) - Constructor for exception com.opendxl.client.exception.DxlException
Constructs the exception
DxlException(Throwable) - Constructor for exception com.opendxl.client.exception.DxlException
Constructs the exception
DxlUtils - Class in com.opendxl.client
Utility methods for use by the DXL-related classes
DxlUtils.WildcardCallback - Interface in com.opendxl.client
Callback that is invoked for each wildcard pattern found

E

equals(Object) - Method in class com.opendxl.client.Broker
ErrorResponse - Class in com.opendxl.client.message
ErrorResponse messages are sent by the DXL fabric itself or service instances upon receiving Request messages.
ErrorResponse(DxlClient, Request, int, String) - Constructor for class com.opendxl.client.message.ErrorResponse
Constructor for ErrorResponse
ErrorResponse(Request, int, String) - Constructor for class com.opendxl.client.message.ErrorResponse
Constructor for ErrorResponse
ErrorResponse(String, Request, int, String) - Constructor for class com.opendxl.client.message.ErrorResponse
Constructor for ErrorResponse
Event - Class in com.opendxl.client.message
Event messages are sent using the DxlClient.sendEvent(com.opendxl.client.message.Event) method of a client instance.
Event(DxlClient, String) - Constructor for class com.opendxl.client.message.Event
Constructor for Event message
Event(String) - Constructor for class com.opendxl.client.message.Event
Constructor for Event message
Event(String, String) - Constructor for class com.opendxl.client.message.Event
Constructor for Event message
EventCallback - Interface in com.opendxl.client.callback
Concrete instances of this interface are used to receive Event messages.
Executors - Class in com.opendxl.client
Utility methods for creating Executor instances.

F

FIELD_SEPARATOR - Static variable in class com.opendxl.client.Broker
Constant for parse separator
fromBytes(byte[]) - Static method in class com.opendxl.client.message.Message
Converts the specified array of bytes to a concrete message instance (request, response, error, etc.) and returns it
fromString(String, Class<T>) - Static method in class com.opendxl.client.JsonUtils
Returns an object corresponding to the specified JSON string
fromString(String, TypeReference<T>) - Static method in class com.opendxl.client.JsonUtils
Use if you need a collection of things to be converted from a json string like a List or Set

G

generateIdAsString() - Static method in class com.opendxl.client.util.UuidGenerator
Generates and returns a random UUID that is all lowercase and has enclosing brackets
getBrokerCaBundlePath() - Method in class com.opendxl.client.DxlClientConfig
Returns the file name of a bundle containing the broker CA certificates in PEM format
getBrokerIds() - Method in class com.opendxl.client.message.Message
Returns the broker identifiers that the message is to be routed to.
getBrokerList() - Method in class com.opendxl.client.DxlClientConfig
Returns the list of Broker objects representing brokers on the DXL fabric supporting standard MQTT connections.
getCallbacksByTopic() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the a Map containing the RequestCallback instances by their associated topic.
getClientIds() - Method in class com.opendxl.client.message.Message
Returns the client identifiers that the message is to be routed to
getConfig() - Method in class com.opendxl.client.DxlClient
Returns the DxlClientConfig assoicated with the client
getConnectRetries() - Method in class com.opendxl.client.DxlClientConfig
Returns the maximum number of connection attempts for each Broker specified.
getConnectTimeout() - Method in class com.opendxl.client.DxlClientConfig
Returns the connection timeout.
getCurrentBroker() - Method in class com.opendxl.client.DxlClient
Returns the Broker that the client is currently connected to.
getDestinationTopic() - Method in class com.opendxl.client.message.Message
Returns the topic to publish the message to
getDestTenantGuids() - Method in class com.opendxl.client.message.Message
Returns the set of tenant identifiers that the message is to be routed to.
getDestTenantGuids() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the set of tenant identifiers that the service will be available to.
getDisconnectTimeout() - Method in class com.opendxl.client.DxlClientConfig
Returns the disconnection timeout.
getErrorCode() - Method in enum com.opendxl.client.message.DxlErrorMessageEnum
Returns the error code
getErrorCode() - Method in class com.opendxl.client.message.ErrorResponse
Returns the numeric error code for the error response
getErrorMessage() - Method in enum com.opendxl.client.message.DxlErrorMessageEnum
Returns the error message
getErrorMessage() - Method in class com.opendxl.client.message.ErrorResponse
Returns the textual error message
getHostName() - Method in class com.opendxl.client.Broker
Returns the host name or IP address of the broker
getIncomingMessageQueueSize() - Method in class com.opendxl.client.DxlClientConfig
Returns the queue size for incoming messages (will block when queue is full)
getIncomingMessageThreadPoolSize() - Method in class com.opendxl.client.DxlClientConfig
Returns the thread pool size for incoming messages
getInUseBrokerList() - Method in class com.opendxl.client.DxlClientConfig
Returns the list of Broker objects representing brokers on the DXL fabric.
getIpAddress() - Method in class com.opendxl.client.Broker
Returns a valid IP address for the broker.
getKeepAliveInterval() - Method in class com.opendxl.client.DxlClientConfig
Returns the maximum period in seconds between communications with a connected Broker.
getKeyStore() - Method in class com.opendxl.client.DxlClientConfig
Returns the KeyStore associated with the client configuration
getMessage() - Method in exception com.opendxl.client.exception.DxlException
getMessageId() - Method in class com.opendxl.client.message.Message
Returns the unique identifier for the message (UUID)
getMessagePack() - Static method in class com.opendxl.client.message.Message
Returns the message pack instance to use for packing/unpacking messages
getMessageType() - Method in class com.opendxl.client.message.ErrorResponse
Returns the numeric type of the message
getMessageType() - Method in class com.opendxl.client.message.Event
Returns the numeric type of the message
getMessageType() - Method in class com.opendxl.client.message.Message
Returns the numeric type of the message
getMessageType() - Method in class com.opendxl.client.message.Request
Returns the numeric type of the message
getMessageType() - Method in class com.opendxl.client.message.Response
Returns the numeric type of the message
getMetadata() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the map of meta data associated with this service
getOperationTimeToWait() - Method in class com.opendxl.client.DxlClientConfig
Returns the time to wait for an underlying protocol operation to complete.
getOtherFields() - Method in class com.opendxl.client.message.Message
Returns a Map containing the set of additional fields associated with the message.
getPayload() - Method in class com.opendxl.client.message.Message
Returns the application-specific payload of the message (bytes)
getPort() - Method in class com.opendxl.client.Broker
Returns the port of the broker
getProtocol() - Method in class com.opendxl.client.Broker
Returns the connection protocol of the broker.
getProxyAddress() - Method in class com.opendxl.client.DxlClientConfig
Returns the HTTP proxy address
getProxyPassword() - Method in class com.opendxl.client.DxlClientConfig
Returns the the HTTP proxy password
getProxyPort() - Method in class com.opendxl.client.DxlClientConfig
Returns the HTTP proxy port
getProxyUserName() - Method in class com.opendxl.client.DxlClientConfig
Returns the HTTP proxy user name
getReconnectBackOffMultiplier() - Method in class com.opendxl.client.DxlClientConfig
Returns the exponential reconnect back off multiplier, defaults to 2
getReconnectDelay() - Method in class com.opendxl.client.DxlClientConfig
Returns the amount of time (in ms) for the first connect retry, defaults to 1000
getReconnectDelayMax() - Method in class com.opendxl.client.DxlClientConfig
Returns the maximum reconnect delay time, defaults to 60000 (one minute)
getReconnectDelayRandom() - Method in class com.opendxl.client.DxlClientConfig
Returns the randomness delay percentage (between 0.0 and 1.0).
getReplyToTopic() - Method in class com.opendxl.client.DxlClient
Returns the name of the "reply-to" topic to use for communicating back to this client (responses to requests).
getReplyToTopic() - Method in class com.opendxl.client.message.Request
Returns the topic that the Response to this Request will be sent to
getRequest() - Method in class com.opendxl.client.message.Response
Returns the Request message that this is a response for
getRequestMessageId() - Method in class com.opendxl.client.message.Response
Returns the unique identifier (UUID) for the Request message that this message is a response for.
getResponseTime() - Method in class com.opendxl.client.Broker
Returns the response time for the broker (essentially the ping time)
getServiceId() - Method in class com.opendxl.client.message.Request
Returns the identifier of the service that this request will be routed to.
getServiceId() - Method in class com.opendxl.client.message.Response
Returns the identifier of the service that sent this response (the service that the corresponding Request was routed to).
getServiceId() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns a unique identifier for the service instance (automatically generated when the ServiceRegistrationInfo object is constructed
getServiceType() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the a textual name for the service.
getSourceBrokerId() - Method in class com.opendxl.client.message.Message
Returns the identifier of the DXL broker that the message's originating client is connected to (set by the initial broker)
getSourceClientId() - Method in class com.opendxl.client.message.Message
Returns the identifier of the DXL client that sent the message (set by the broker that initially receives the message)
getSourceClientInstanceId() - Method in class com.opendxl.client.message.Message
Returns the instance identifier for the client that is the source of the message
getSourceTenantGuid() - Method in class com.opendxl.client.message.Message
Returns the tenant identifier of the DXL client that sent the message (set by the broker that initially receives the message)
getSubscriptions() - Method in class com.opendxl.client.DxlClient
Returns a Set containing the topics that the client is currently subscribed to
getTopics() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns a Set containing the topics that the service responds to
getTtl() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the interval (in minutes unless the resolution has been modified) at which the client will automatically re-register the service with the DXL fabric (defaults to 60 minutes).
getTtlMins() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the interval (in minutes) at which the client will automatically re-register the service with the DXL fabric (defaults to 60 minutes).
getTtlResolution() - Method in class com.opendxl.client.ServiceRegistrationInfo
Returns the Time-To-Live (TTL) resolution factor (by default is 1, minutes)
getUniqueId() - Method in class com.opendxl.client.Broker
Returns a unique identifier for the broker, used to identify the broker in log messages, etc.
getUniqueId() - Method in class com.opendxl.client.DxlClient
Returns the unique identifier of the client instance
getUniqueId() - Method in class com.opendxl.client.DxlClientConfig
Returns the unique identifier of the client instance
getVersion() - Method in class com.opendxl.client.message.Message
Returns the version of the DXL message (used to determine the features that are available)
getWebSocketBrokers() - Method in class com.opendxl.client.DxlClientConfig
Returns the list of Broker objects representing brokers on the DXL fabric supporting DXL connections over WebSockets.

H

hashCode() - Method in class com.opendxl.client.Broker

I

isConnected() - Method in class com.opendxl.client.DxlClient
Whether the client is currently connected to the DXL fabric.
isHttpsHostnameVerificationEnabled() - Method in class com.opendxl.client.DxlClientConfig
Returns whether the client should do SSL host name verification when connecting to a broker
isInfiniteReconnectRetries() - Method in class com.opendxl.client.DxlClientConfig
Returns whether the client should infinitely retry to reconnect when it gets disconnected
isResponseFromIpAddress() - Method in class com.opendxl.client.Broker
Returns whether the response time is for the broker's IP address
isUseWebSockets() - Method in class com.opendxl.client.DxlClientConfig
Returns whether the client should use WebSockets or regular MQTT over tcp when connecting to a Broker
iterateWildcards(DxlUtils.WildcardCallback, String) - Static method in class com.opendxl.client.DxlUtils
Iterates the wildcards for the specified topic.

J

JsonUtils - Class in com.opendxl.client
Json utility methods

K

KS_PASS - Static variable in class com.opendxl.client.DxlClientConfig
The default keystore password

M

main(String[]) - Static method in class com.opendxl.client.cli.CommandLineInterface
Main entry point for the command line interface
MalformedBrokerException - Exception in com.opendxl.client.exception
A malformed broker exception for use with Data Exchange Layer (DXL)
MalformedBrokerException(String) - Constructor for exception com.opendxl.client.exception.MalformedBrokerException
Constructs a MalformedBrokerException with the specified detail message.
MalformedBrokerException(String, Throwable) - Constructor for exception com.opendxl.client.exception.MalformedBrokerException
Constructs a MalformedBrokerException with the specified detail message.
Message - Class in com.opendxl.client.message
The base class for the different Data Exchange Layer (DXL) message types.
Message(DxlClient, String) - Constructor for class com.opendxl.client.message.Message
Constructor for Message
Message(String) - Constructor for class com.opendxl.client.message.Message
Constructor for Message
Message(String, String) - Constructor for class com.opendxl.client.message.Message
Constructor for Message
MESSAGE_TYPE_ERROR - Static variable in class com.opendxl.client.message.Message
The numeric type identifier for the ErrorResponse message type
MESSAGE_TYPE_EVENT - Static variable in class com.opendxl.client.message.Message
The numeric type identifier for the Event message type
MESSAGE_TYPE_REQUEST - Static variable in class com.opendxl.client.message.Message
The numeric type identifier for the Request message type
MESSAGE_TYPE_RESPONSE - Static variable in class com.opendxl.client.message.Message
The numeric type identifier for the Response message type
MESSAGE_VERSION - Static variable in class com.opendxl.client.message.Message
The message version
MessageCallback - Interface in com.opendxl.client.callback
Interface implemented by the different callbacks
MQTT_CONNECT_TIMEOUT - Static variable in class com.opendxl.client.Constants
The system property for the connect timeout
MQTT_DISCONNECT_TIMEOUT - Static variable in class com.opendxl.client.Constants
The system property for the connect timeout
MQTT_TIME_TO_WAIT - Static variable in class com.opendxl.client.Constants
The system property for specifying the time to wait for an operation to complete

N

normalize(String) - Static method in class com.opendxl.client.util.UuidGenerator
Normalizes the specified UUID string
notifyRegistrationSucceeded() - Method in class com.opendxl.client.ServiceRegistrationInfo
Invoked when the service has been successfully registered with a broker
notifyUnregistrationSucceeded() - Method in class com.opendxl.client.ServiceRegistrationInfo
Invoked when the service has been successfully unregistered with a broker

O

onDisconnect(DxlClient) - Method in interface com.opendxl.client.DisconnectedStrategy
Invoked when the client is disconnected from the broker.
onDisconnect(DxlClient) - Method in class com.opendxl.client.ReconnectDisconnectedStrategy
Invoked when the client is disconnected from the broker.
onEvent(Event) - Method in interface com.opendxl.client.callback.EventCallback
Invoked when an Event has been received.
onNextWildcard(String) - Method in interface com.opendxl.client.DxlUtils.WildcardCallback
Invoked for the next wildcard pattern found
onRequest(Request) - Method in interface com.opendxl.client.callback.RequestCallback
Invoked when a Request has been received.
onResponse(Response) - Method in interface com.opendxl.client.callback.ResponseCallback
Invoked when a Response has been received.

P

parse(String) - Static method in class com.opendxl.client.Broker
Constructs and returns a Broker for the specified configuration string of the following format:
parse(String, String) - Static method in class com.opendxl.client.Broker
Constructs and returns a Broker for the specified protocol and configuration string of the following format:
parse(String, boolean) - Static method in class com.opendxl.client.Broker
Constructs and returns a Broker for the specified configuration string of the following format:

R

reconnect() - Method in class com.opendxl.client.DxlClient
Attempts to reconnect the client to the fabric.
ReconnectDisconnectedStrategy - Class in com.opendxl.client
An implementation of the DisconnectedStrategy that attempts to reconnect to the fabric
ReconnectDisconnectedStrategy() - Constructor for class com.opendxl.client.ReconnectDisconnectedStrategy
 
registerServiceAsync(ServiceRegistrationInfo) - Method in class com.opendxl.client.DxlClient
Registers a DXL service with the fabric asynchronously.
registerServiceSync(ServiceRegistrationInfo, long) - Method in class com.opendxl.client.DxlClient
Registers a DXL service with the fabric.
removeEventCallback(String, EventCallback, boolean) - Method in class com.opendxl.client.DxlClient
Removes a EventCallback from the client for the specified topic.
removeEventCallback(String, EventCallback) - Method in class com.opendxl.client.DxlClient
Removes a EventCallback from the client for the specified topic.
removeRequestCallback(String, RequestCallback) - Method in class com.opendxl.client.DxlClient
Removes a RequestCallback from the client for the specified topic.
removeResponseCallback(String, ResponseCallback) - Method in class com.opendxl.client.DxlClient
Removes a RequestCallback from the client for the specified topic.
removeTopic(String, RequestCallback) - Method in class com.opendxl.client.ServiceRegistrationInfo
Removes a request topic and associated callback from the service.
Request - Class in com.opendxl.client.message
Request(DxlClient, String) - Constructor for class com.opendxl.client.message.Request
Constructor for Request
Request(String) - Constructor for class com.opendxl.client.message.Request
Constructor for Request
Request(String, String) - Constructor for class com.opendxl.client.message.Request
Constructor for Request
RequestCallback - Interface in com.opendxl.client.callback
Concrete instances of this interface are used to receive Request messages.
Response - Class in com.opendxl.client.message
Response messages are sent by service instances upon receiving Request messages.
Response(DxlClient, Request) - Constructor for class com.opendxl.client.message.Response
Constructor for Response
Response(Request) - Constructor for class com.opendxl.client.message.Response
Constructor for Response
Response(String, Request) - Constructor for class com.opendxl.client.message.Response
Constructor for Response
ResponseCallback - Interface in com.opendxl.client.callback
Concrete instances of this interface are used to receive Response messages.

S

sendEvent(Event) - Method in class com.opendxl.client.DxlClient
Attempts to deliver the specified Event message to the DXL fabric.
sendResponse(Response) - Method in class com.opendxl.client.DxlClient
Attempts to deliver the specified Response message to the DXL fabric.
ServiceRegistrationInfo - Class in com.opendxl.client
Service Registration instances are used to register and expose services onto a DXL fabric.
ServiceRegistrationInfo(DxlClient, String) - Constructor for class com.opendxl.client.ServiceRegistrationInfo
Constructor for ServiceRegistrationInfo
setBrokerIds(Set<String>) - Method in class com.opendxl.client.message.Message
Sets the broker identifiers that the message is to be routed to.
setClientIds(Set<String>) - Method in class com.opendxl.client.message.Message
Sets the client identifiers that the message is to be routed to.
setConnectRetries(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the maximum number of connection attempts for each Broker specified.
setConnectTimeout(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the connection timeout.
setDestinationTopic(String) - Method in class com.opendxl.client.message.Message
Sets the topic to publish the message to
setDestTenantGuids(Set<String>) - Method in class com.opendxl.client.message.Message
Sets the tenant identifiers that the message is to be routed to.
setDestTenantGuids(Set<String>) - Method in class com.opendxl.client.ServiceRegistrationInfo
Sets the tenant identifiers that the service will be available to.
setDisconnectedStrategy(DisconnectedStrategy) - Method in class com.opendxl.client.DxlClient
Sets the strategy to use if the client becomes unexpectedly disconnected from the broker.
setDisconnectTimeout(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the disconnection timeout.
setHostName(String) - Method in class com.opendxl.client.Broker
Sets the host name or IP address of the broker
setHttpsHostnameVerificationEnabled(boolean) - Method in class com.opendxl.client.DxlClientConfig
Sets whether the client should do SSL host name verification when connecting to a broker.
setIncomingMessageQueueSize(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the queue size for incoming messages (will block when queue is full)
setIncomingMessageThreadPoolSize(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the thread pool size for incoming messages
setInfiniteReconnectRetries(boolean) - Method in class com.opendxl.client.DxlClientConfig
Sets whether the client should infinitely retry to reconnect when it gets disconnected
setIpAddress(String) - Method in class com.opendxl.client.Broker
Sets the IP address for the broker
setKeepAliveInterval(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the maximum period in seconds between communications with a connected Broker.
setMetadata(Map<String, String>) - Method in class com.opendxl.client.ServiceRegistrationInfo
A Map of name-value pairs that are sent as part of the service registration.
setOperationTimeToWait(long) - Method in class com.opendxl.client.DxlClientConfig
Sets the time to wait for an underlying protocol operation to complete.
setOtherFields(Map<String, String>) - Method in class com.opendxl.client.message.Message
Sets a Map containing the set of additional fields associated with the message.
setPayload(byte[]) - Method in class com.opendxl.client.message.Message
The payload for the message
setPort(int) - Method in class com.opendxl.client.Broker
Set the port of the broker
setProtocol(String) - Method in class com.opendxl.client.Broker
Set the connection protocol of the broker.
setProxyAddress(String) - Method in class com.opendxl.client.DxlClientConfig
Sets the HTTP proxy address
setProxyPassword(char[]) - Method in class com.opendxl.client.DxlClientConfig
Sets the the HTTP proxy password
setProxyPort(int) - Method in class com.opendxl.client.DxlClientConfig
Sets the HTTP proxy port
setProxyUserName(String) - Method in class com.opendxl.client.DxlClientConfig
Sets the HTTP proxy user name
setReconnectBackOffMultiplier(int) - Method in class com.opendxl.client.DxlClientConfig
The exponential reconnect back off multiplier, defaults to 2
setReconnectDelay(int) - Method in class com.opendxl.client.DxlClientConfig
The amount of time (in ms) for the first connect retry, defaults to 1000
setReconnectDelayMax(long) - Method in class com.opendxl.client.DxlClientConfig
The maximum reconnect delay time, defaults to 60000 (one minute)
setReconnectDelayRandom(float) - Method in class com.opendxl.client.DxlClientConfig
Sets a randomness delay percentage (between 0.0 and 1.0).
setReplyToTopic(String) - Method in class com.opendxl.client.message.Request
Sets the topic that the Response to this Request will be sent to
setServiceId(String) - Method in class com.opendxl.client.message.Request
Sets the identifier of the service that this request will be routed to.
setSocketFactory(SSLSocketFactory) - Method in class com.opendxl.client.DxlClient
Sets the SSL socket factory
setSourceClientId(String) - Method in class com.opendxl.client.message.Message
Sets the identifier of the DXL client that sent the message (set by the broker that initially receives the message)
setSourceClientInstanceId(String) - Method in class com.opendxl.client.message.Message
Sets the instance identifier for the client that is the source of the message
setSourceTenantGuid(String) - Method in class com.opendxl.client.message.Message
Sets the tenant identifier of the DXL client that sent the message (set by the broker that initially receives the message)
setTtl(long) - Method in class com.opendxl.client.ServiceRegistrationInfo
Sets the interval (in minutes unless the resolution has been modified) at which the client will automatically re-register the service with the DXL fabric (defaults to 60 minutes).
setUniqueId(String) - Method in class com.opendxl.client.Broker
Sets the unique identifier for the broker, used to identify the broker in log messages, etc.
setUniqueId(String) - Method in class com.opendxl.client.DxlClientConfig
Overwrites the unique identifier of the client with a new UUID.
setUseWebSockets(boolean) - Method in class com.opendxl.client.DxlClientConfig
Sets whether the client should use WebSockets or regular MQTT over tcp when connecting to a Broker
setWebSocketBrokers(List<Broker>) - Method in class com.opendxl.client.DxlClientConfig
Set the list of Broker objects representing brokers on the DXL fabric supporting DXL connections over WebSockets.
SSL_PROTOCOL - Static variable in class com.opendxl.client.Broker
Constant for ssl protocol
subscribe(String) - Method in class com.opendxl.client.DxlClient
Subscribes to the specified topic on the DXL fabric.
syncRequest(Request) - Method in class com.opendxl.client.DxlClient
Sends a Request message to a remote DXL service.
syncRequest(Request, long) - Method in class com.opendxl.client.DxlClient
Sends a Request message to a remote DXL service.
SYSPROP_ASYNC_CALLBACK_CHECK_INTERVAL - Static variable in class com.opendxl.client.Constants
The system property for specifying the interval for checking async callbacks for timeout
SYSPROP_CONNECT_RETRIES - Static variable in class com.opendxl.client.Constants
The system property for specifying connect retries
SYSPROP_CONNECT_TIMEOUT - Static variable in class com.opendxl.client.Constants
The system property for specifying connection timeout (in ms)
SYSPROP_DEFAULT_WAIT - Static variable in class com.opendxl.client.Constants
The system property for specifying the default wait time (for sync request, etc.)
SYSPROP_DISABLE_DISCONNECTED_STRATEGY - Static variable in class com.opendxl.client.Constants
This system property can be set to false if the reconnect behavior should be disabled when the client is unexpectedly disconnected from the broker.
SYSPROP_INCOMING_MESSAGE_QUEUE_SIZE - Static variable in class com.opendxl.client.Constants
The thread pool queue size to handle incoming messages
SYSPROP_INCOMING_MESSAGE_THREAD_POOL_SIZE - Static variable in class com.opendxl.client.Constants
The thread pool size to handle incoming messages
SYSPROP_MAX_RECONNECT_DELAY - Static variable in class com.opendxl.client.Constants
The system property for specifying the maximum reconnect delay
SYSPROP_MQTT_KEEP_ALIVE_INTERVAL - Static variable in class com.opendxl.client.Constants
The system property for a keep alive interval (minutes) (client pings broker at interval)
SYSPROP_RECONNECT_BACK_OFF_MULTIPLIER - Static variable in class com.opendxl.client.Constants
The system property for specifying the reconnect back off multiplier
SYSPROP_RECONNECT_DELAY - Static variable in class com.opendxl.client.Constants
The system property for the amount of time (in ms) for the first connect retry
SYSPROP_RECONNECT_DELAY_RANDOM - Static variable in class com.opendxl.client.Constants
The system property for specifying the reconnect delay randomness
SYSPROP_SERVICE_TTL_DEFAULT - Static variable in class com.opendxl.client.Constants
This system property defines the default Time-To-Live (TTL) of the service registration
SYSPROP_SERVICE_TTL_GRACE_PERIOD - Static variable in class com.opendxl.client.Constants
This system property defines the Time-To-Live (TTL) grace period of the service registration
SYSPROP_SERVICE_TTL_LOWER_LIMIT - Static variable in class com.opendxl.client.Constants
This system property defines the minimum Time-To-Live (TTL) of the service registration
SYSPROP_SERVICE_TTL_RESOLUTION - Static variable in class com.opendxl.client.Constants
This system property defines the Time-To-Live (TTL) resolution (FOR TESTING ONLY)

T

throwWrappedException(String, Exception) - Static method in class com.opendxl.client.DxlUtils
Wraps the specified exception as a DxlException with the specified message.
toBytes() - Method in class com.opendxl.client.message.Message
Converts the message to an array of bytes and returns it
toString() - Method in class com.opendxl.client.Broker
toString(Object) - Static method in class com.opendxl.client.JsonUtils
Returns a JSON string representation of the specified object
toString(UUID) - Static method in class com.opendxl.client.util.UuidGenerator
Converts the specified UUID into string that is all lowercase and has enclosing brackets

U

unregisterServiceAsync(ServiceRegistrationInfo) - Method in class com.opendxl.client.DxlClient
Unregisters (removes) a DXL service with from the fabric asynchronously.
unregisterServiceAsync(String) - Method in class com.opendxl.client.DxlClient
Unregisters (removes) a DXL service with from the fabric asynchronously.
unregisterServiceSync(ServiceRegistrationInfo, long) - Method in class com.opendxl.client.DxlClient
Unregisters (removes) a DXL service from the fabric.
unsubscribe(String) - Method in class com.opendxl.client.DxlClient
Unsubscribes from the specified topic on the DXL fabric.
UuidGenerator - Class in com.opendxl.client.util
Generator used to generate a universally unique identifier (UUID) string that is all lowercase and has enclosing brackets

V

valueOf(String) - Static method in enum com.opendxl.client.message.DxlErrorMessageEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.opendxl.client.message.DxlErrorMessageEnum
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForRegistration(long) - Method in class com.opendxl.client.ServiceRegistrationInfo
Waits for the service to be registered with the broker for the first time
waitForUnregistration(long) - Method in class com.opendxl.client.ServiceRegistrationInfo
Waits for the service to be unregistered with the broker for the first time
WaitTimeoutException - Exception in com.opendxl.client.exception
Exception that indicates that a wait timeout has been exceeded
WaitTimeoutException(String) - Constructor for exception com.opendxl.client.exception.WaitTimeoutException
Constructs the exception
write(String) - Method in class com.opendxl.client.DxlClientConfig
Method to write out the dxlClient.config file from the DXLClientConfig object member variables
WSS_PROTOCOL - Static variable in class com.opendxl.client.Broker
The WSS protocol identifier
A B C D E F G H I J K M N O P R S T U V W 
Skip navigation links