A B C D E G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abortConnect() - Method in class com.kristensoft.kdc.TcpClient
-
Aborts a TCP connection attempt that is currently in progress.
- addClient(Client) - Method in class com.kristensoft.kdc.Hub
-
Adds a client to this hub.
- addEventHandler(KristenHttpClientEventHandler) - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Adds an HTTP client event handler.
- addEventHandler(KristenHttpServerEventHandler) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Adds an HTTP server event handler.
- addEventHandler(MulticastClientEventHandler) - Method in class com.kristensoft.kdc.MulticastParameters.Builder
-
Adds an event handler to the multicast client event handlers.
- addEventHandler(TcpClientEventHandler) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Adds a TCP client event handler to this configuration.
- addEventHandler(UdpClientEventHandler) - Method in class com.kristensoft.kdc.UdpClientParameters.Builder
-
Adds an event handler to the UDP client event handlers.
- addEventHandlers(List<KristenHttpClientEventHandler>) - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Adds the specified HTTP client event handlers.
- addEventHandlers(List<KristenHttpServerEventHandler>) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Adds the specified HTTP server event handlers.
- addEventHandlers(List<MulticastClientEventHandler>) - Method in class com.kristensoft.kdc.MulticastParameters.Builder
-
Adds the specified event handlers to the multicast client event handlers.
- addEventHandlers(List<TcpClientEventHandler>) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Adds the specified TCP client event handlers to this configuration.
- addEventHandlers(List<UdpClientEventHandler>) - Method in class com.kristensoft.kdc.UdpClientParameters.Builder
-
Adds the specified event handlers to the UDP client event handlers.
- addTcpClientEventHandler(TcpClientEventHandler) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Adds a TCP client event handler for clients created by the server.
- addTcpClientEventHandlers(List<TcpClientEventHandler>) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Adds the specified TCP client event handlers for clients created by the server.
- addTcpServerEventHandler(TcpServerEventHandler) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Adds a TCP server event handler.
- addTcpServerEventHandlers(List<TcpServerEventHandler>) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Adds the specified TCP server event handlers.
- addToWhiteList(String) - Method in class com.kristensoft.kdc.AgentSerializer
-
Adds a class or package name to the whitelist of classes permitted during deserialization.
- addWhiteListEntry(String) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Adds a class or package entry to the deserialization whitelist.
- Agent - Class in com.kristensoft.kdc
-
Represents an object that can be transmitted by KDC to a remote receiver.
- Agent() - Constructor for class com.kristensoft.kdc.Agent
-
Creates a new agent.
- AGENT_DESERIALIZE - com.kristensoft.kdc.LatencyMetric
-
Time spent de-serializing a received agent.
- AGENT_QUEUE - com.kristensoft.kdc.LatencyMetric
-
Time spent waiting in the agent processing queue.
- AGENT_RECEIVE - com.kristensoft.kdc.LatencyMetric
-
Time spent receiving an agent.
- AGENT_SEND - com.kristensoft.kdc.LatencyMetric
-
Time spent sending an agent.
- AGENT_SERIALIZE - com.kristensoft.kdc.LatencyMetric
-
Time spent serializing an agent before transmission.
- AGENT_VISIT - com.kristensoft.kdc.LatencyMetric
-
Time spent executing the agent's visit method.
- AgentSerializer - Class in com.kristensoft.kdc
- AgentSerializer(Parameters) - Constructor for class com.kristensoft.kdc.AgentSerializer
-
Constructs an agent serializer using the specified KDC configuration.
- API - Interface in com.kristensoft.kdc
-
Marker interface for APIs that can be visited by KDC agents.
- AUTORECONNECT - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default setting for automatically reconnecting a client after its connection is lost.
- AUTOSTART - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default setting for automatically starting communication entities.
B
- BACKLOG - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default maximum number of pending connections that may be queued by a server.
- BIND_ADDRESS - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default local address to which a communication entity binds.
- build() - Method in class com.kristensoft.kdc.ClientParameters.Builder
-
Builds the client parameters using the current builder configuration.
- build() - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Builds the HTTP client parameters.
- build() - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Builds the configured
KristenHttpServerParameters. - build() - Method in class com.kristensoft.kdc.MulticastParameters.Builder
-
Builds the multicast client parameters using the configured settings.
- build() - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Builds the multicast socket options using the configured settings.
- build() - Method in class com.kristensoft.kdc.Parameters.Builder
-
Builds the parameters using the configuration specified by this builder.
- build() - Method in class com.kristensoft.kdc.ServerParameters.Builder
-
Builds the parameters using the configuration specified by this builder.
- build() - Method in class com.kristensoft.kdc.SocketOptions.Builder
-
Builds the socket options instance using the configured values.
- build() - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Builds a
TcpClientParametersinstance using the current builder configuration. - build() - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Builds a
TcpClientSocketOptionsinstance using the current builder configuration. - build() - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Builds the parameters using the configuration specified by this builder.
- build() - Method in class com.kristensoft.kdc.TcpServerSocketOptions.Builder
-
Builds the TCP server socket options.
- build() - Method in class com.kristensoft.kdc.UdpClientParameters.Builder
-
Builds the client parameters using the current builder configuration.
- build() - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Builds the UDP socket options using the configuration specified by this builder.
- build() - Method in class com.kristensoft.kdc.WebSocketServerParameters.Builder
-
Builds the WebSocket server parameters using the configured settings.
- builder() - Static method in class com.kristensoft.kdc.WebSocketServerParameters
-
Creates a builder for configuring WebSocket server parameters.
- Builder() - Constructor for class com.kristensoft.kdc.ClientParameters.Builder
-
Creates a builder for configuring client parameters.
- Builder() - Constructor for class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Creates a builder for configuring client parameters.
- Builder() - Constructor for class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Creates a builder for configuring HTTP server parameters.
- Builder() - Constructor for class com.kristensoft.kdc.MulticastParameters.Builder
-
Creates a builder for configuring multicast parameters.
- Builder() - Constructor for class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Creates a builder for configuring multicast socket options.
- Builder() - Constructor for class com.kristensoft.kdc.SocketOptions.Builder
-
Creates a builder for configuring socket options.
- Builder() - Constructor for class com.kristensoft.kdc.TcpClientParameters.Builder
-
Creates a builder for configuring TCP client parameters.
- Builder() - Constructor for class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Creates a builder for configuring TCP client socket options.
- Builder() - Constructor for class com.kristensoft.kdc.TcpServerParameters.Builder
-
Creates a builder for configuring TCP server parameters.
- Builder() - Constructor for class com.kristensoft.kdc.TcpServerSocketOptions.Builder
-
Creates a builder for configuring TCP server socket options.
- Builder() - Constructor for class com.kristensoft.kdc.UdpClientParameters.Builder
-
Creates a builder for configuring UDP client parameters.
- Builder() - Constructor for class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Creates a builder for configuring UDP socket options.
- Builder() - Constructor for class com.kristensoft.kdc.WebSocketServerParameters.Builder
-
Creates a builder for configuring WebSocket server parameters.
C
- clear() - Method in class com.kristensoft.kdc.Hub
-
Removes all clients from this hub.
- clear() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Removes all pending requests from the HTTP server request queue.
- Client - Class in com.kristensoft.kdc
-
Abstract base class that provides common functionality for KDC client implementations.
- ClientParameters - Class in com.kristensoft.kdc
-
Base class for parameters used to configure KDC clients.
- ClientParameters.Builder<T extends ClientParameters.Builder<T>> - Class in com.kristensoft.kdc
-
Base builder for configuring client parameters.
- ClientType - Enum in com.kristensoft.kdc
-
Identifies whether a KDC client resides on the initiating side or the accepting side of a network connection.
- close() - Method in class com.kristensoft.kdc.Client
-
Closes the networking resources associated with this client.
- close() - Method in class com.kristensoft.kdc.KristenHttpClient
-
Closes this HTTP client.
- close() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Closes this HTTP server, allowing up to one second for current HTTP exchanges to complete.
- close() - Method in class com.kristensoft.kdc.MulticastClient
-
Closes the multicast socket associated with this client.
- close() - Method in class com.kristensoft.kdc.Server
-
Closes this server and releases its transport-specific resources.
- close() - Method in class com.kristensoft.kdc.TcpClient
-
Closes this TCP client and releases its connection resources.
- close() - Method in class com.kristensoft.kdc.TcpServer
-
Closes the TCP server socket.
- close() - Method in class com.kristensoft.kdc.UdpClient
-
Closes the UDP socket associated with this client.
- close() - Method in class com.kristensoft.kdc.WebSocketServer
-
Stops the underlying Jetty WebSocket server.
- com.kristensoft.kdc - package com.kristensoft.kdc
- COMPRESSED - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default setting for compressing serialized agent data.
- connect() - Method in class com.kristensoft.kdc.KristenHttpClient
-
Attempts to establish a connection to the configured HTTP server.
- connect() - Method in class com.kristensoft.kdc.TcpClient
-
Connects this client to the configured remote TCP endpoint.
- CONNECTION_TIMEOUT - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default amount of time a TCP client waits for a connection to be established before timing out.
- CRC - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default setting for including a CRC integrity check with serialized agent data.
- createContext(String) - Method in class com.kristensoft.kdc.KristenHttpServer
-
Creates an HTTP context for the specified path.
D
- DEFAULT_CONNECTION_QUEUE_POOL_SIZE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default number of worker threads in the connection queue thread pool.
- DEFAULT_CORE_POOL_SIZE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default core thread pool size used by KDC HTTP servers.
- DEFAULT_KEEP_ALIVE_TIME - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default keep-alive time for idle threads in the KDC HTTP server thread pool.
- DEFAULT_LATENCY_MODE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default setting for collecting latency metrics.
- DEFAULT_LATENCY_REPORTING_INTERVAL - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default interval at which latency metrics are reported.
- DEFAULT_MAXIMUM_POOL_SIZE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default maximum thread pool size used by KDC HTTP servers.
- DEFAULT_SERIALIZATION_MODE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default serialization format used to serialize agent data.
- DEFAULT_TIME_UNIT - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default unit of time used for the KDC HTTP server thread pool keep-alive time.
- DEFAULT_URI_STRING - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default URI path used by KDC HTTP clients and servers.
- deleteContext(HttpContext) - Method in class com.kristensoft.kdc.KristenHttpServer
-
Removes the specified HTTP context from this server.
- deleteContext(String) - Method in class com.kristensoft.kdc.KristenHttpServer
-
Removes the HTTP context associated with the specified path from this server.
- deserialize(byte[]) - Method in class com.kristensoft.kdc.AgentSerializer
-
Deserializes a KDC packet contained in the specified byte array into an agent.
- deserialize(byte[], int, int) - Method in class com.kristensoft.kdc.AgentSerializer
-
Deserializes a KDC packet contained within the specified portion of a byte array into an agent.
- deserializeReply(byte[], Parameters) - Method in class com.kristensoft.kdc.AgentSerializer
-
Deserializes a KDC packet into a reply.
- duration(LatencyMetric) - Method in class com.kristensoft.kdc.Agent
-
Returns the duration recorded for the specified latency metric.
E
- ENCRYPTION_KEY - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default encryption key used to encrypt serialized agent data.
G
- getAgentSerializer() - Method in class com.kristensoft.kdc.Agent
-
Retrieves the instance of
AgentSerializer. - getApiClassName() - Method in class com.kristensoft.kdc.Agent
-
Returns the name of the API class.
- getApiMap() - Method in class com.kristensoft.kdc.Parameters
-
Gets the map of API interfaces to their registered implementations.
- getApiMethodKey() - Method in class com.kristensoft.kdc.Agent
-
Returns the API method key composed of the simple name of the class, the visitor method name, and the API class name, separated by the specified key delimiter.
- getBacklog() - Method in class com.kristensoft.kdc.Server
-
Returns the maximum number of pending connections allowed in the server's connection backlog.
- getBacklog() - Method in class com.kristensoft.kdc.ServerParameters
-
Returns the server socket backlog used for pending connection requests.
- getBindAddress() - Method in class com.kristensoft.kdc.Parameters
-
Gets the local network address to which the communication entity binds.
- getBroadcast() - Method in class com.kristensoft.kdc.UdpSocketOptions
-
Returns whether broadcast is configured.
- getClient() - Method in class com.kristensoft.kdc.Agent
-
Returns the client associated with this agent.
- getClientParameters() - Method in class com.kristensoft.kdc.Client
-
Gets the parameters associated with this client.
- getClients() - Method in class com.kristensoft.kdc.Hub
-
Returns an unmodifiable snapshot of the clients in this hub.
- getClientType() - Method in class com.kristensoft.kdc.ClientParameters
-
Gets the type of this client.
- getConnectionQueuePoolSize() - Method in class com.kristensoft.kdc.Parameters
-
Gets the number of worker threads in the connection queue thread pool.
- getConnectionTimeout() - Method in class com.kristensoft.kdc.TcpClientParameters
-
Returns the amount of time allowed for establishing a TCP connection.
- getCorePoolSize() - Method in class com.kristensoft.kdc.KristenHttpServerParameters
-
Returns the core number of threads used to process HTTP requests.
- getCreationTimeStamp() - Method in class com.kristensoft.kdc.Agent
-
Returns the agent creation timestamp.
- getData(Enum<?>, Class<T>) - Method in class com.kristensoft.kdc.Agent
-
Returns the value associated with the name of the specified enum constant.
- getData(String, Class<T>) - Method in class com.kristensoft.kdc.Agent
-
Returns the value associated with the specified key.
- getDefaultContext() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Returns the default HTTP context for this server.
- getEncryptionKey() - Method in class com.kristensoft.kdc.AgentSerializer
-
Returns the encryption key currently configured for this serializer.
- getEncryptionKey() - Method in class com.kristensoft.kdc.Parameters
-
Gets the encryption key used to encrypt and decrypt serialized agent data.
- getEndpointClass() - Method in class com.kristensoft.kdc.WebSocketServerParameters
-
Returns the WebSocket endpoint class.
- getEventHandlers() - Method in class com.kristensoft.kdc.KristenHttpClientParameters
-
Returns the HTTP client event handlers.
- getEventHandlers() - Method in class com.kristensoft.kdc.KristenHttpServerParameters
-
Returns the HTTP server event handlers.
- getException() - Method in class com.kristensoft.kdc.Reply
-
Returns the exception associated with this reply.
- getFormat() - Method in class com.kristensoft.kdc.AgentSerializer
-
Returns the serialization format currently configured for this serializer.
- getHttpResponseCode() - Method in class com.kristensoft.kdc.Reply
-
Returns the HTTP response code associated with this reply.
- getHub() - Method in class com.kristensoft.kdc.Server
-
Returns the hub containing the clients associated with this server.
- getKeepAlive() - Method in class com.kristensoft.kdc.KristenHttpClientParameters
-
Returns the configured HTTP keep-alive setting.
- getKeepAlive() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns whether TCP keep-alive is enabled.
- getKeepAliveTime() - Method in class com.kristensoft.kdc.KristenHttpServerParameters
-
Returns the amount of time excess idle threads may remain alive.
- getKristenHttpClientParameters() - Method in class com.kristensoft.kdc.KristenHttpClient
-
Returns the parameters used to configure this HTTP client.
- getKristenHttpServerParameters() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Returns the parameters used to configure this HTTP server.
- getLatencyContext() - Method in class com.kristensoft.kdc.LatencyRecord
-
Returns the latency context associated with this record.
- getLatencyRecord() - Method in class com.kristensoft.kdc.Agent
-
Returns the latency record associated with this agent.
- getLatencyReportingInterval() - Method in class com.kristensoft.kdc.Parameters
-
Gets the interval at which latency metrics are reported.
- getLocalAddress() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Returns the local address of this HTTP server.
- getLoopbackModeDisabled() - Method in class com.kristensoft.kdc.MulticastSocketOptions
-
Returns whether multicast loopback mode is disabled.
- getMaxConnections() - Method in class com.kristensoft.kdc.KristenHttpClientParameters
-
Returns the configured maximum number of HTTP connections.
- getMaximumPoolSize() - Method in class com.kristensoft.kdc.KristenHttpServerParameters
-
Returns the maximum number of threads used to process HTTP requests.
- getMaxReceiveBufferSize() - Method in class com.kristensoft.kdc.Parameters
-
Gets the maximum size of the receive buffer, in bytes.
- getMaxSendBufferSize() - Method in class com.kristensoft.kdc.Parameters
-
Gets the maximum size of the send buffer, in bytes.
- getMessage() - Method in class com.kristensoft.kdc.Reply
-
Returns the message associated with this reply.
- getMetrics() - Method in enum com.kristensoft.kdc.LatencyContext
-
Returns the ordered latency metrics associated with this context.
- getMulticastClientEventHandlers() - Method in class com.kristensoft.kdc.MulticastParameters
-
Returns an unmodifiable list of the registered multicast client event handlers.
- getMulticastParameters() - Method in class com.kristensoft.kdc.MulticastClient
-
Returns the configuration parameters for this multicast client.
- getMulticastSocketOptions() - Method in class com.kristensoft.kdc.MulticastParameters
-
Returns the socket options used by this multicast client.
- getNetworkInterface() - Method in class com.kristensoft.kdc.MulticastSocketOptions
-
Returns the network interface used for multicast communication.
- getOobInline() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns whether received TCP urgent data is placed inline with normal socket data.
- getPath() - Method in class com.kristensoft.kdc.WebSocketServerParameters
-
Returns the WebSocket endpoint path.
- getProtocol() - Method in class com.kristensoft.kdc.Agent
-
Obtain the value of the protocol for this communications entity.
- getProtocol() - Method in class com.kristensoft.kdc.Parameters
-
Gets the communication protocol associated with these parameters.
- getProtocolVersion() - Method in class com.kristensoft.kdc.Parameters
-
Gets the KDC wire protocol version used for communication.
- getReceiveBufferSize() - Method in class com.kristensoft.kdc.SocketOptions
-
Returns the configured socket receive buffer size.
- getReceiveBufferSize() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns the configured socket receive buffer size.
- getReceiveBufferSize() - Method in class com.kristensoft.kdc.TcpServerSocketOptions
-
Returns the configured receive buffer size.
- getReceiveBufferSize() - Method in class com.kristensoft.kdc.UdpSocketOptions
-
Returns the configured receive buffer size.
- getReconnectDelay() - Method in class com.kristensoft.kdc.TcpClientParameters
-
Returns the amount of time to wait between TCP reconnection attempts.
- getRemoteAddress() - Method in class com.kristensoft.kdc.ClientParameters
-
Gets the remote address associated with this client.
- getResponse() - Method in class com.kristensoft.kdc.Agent
-
Obtain the reply received from the receiver.
- getReuseAddress() - Method in class com.kristensoft.kdc.SocketOptions
-
Returns the configured address reuse setting.
- getReuseAddress() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns whether the socket address may be reused.
- getReuseAddress() - Method in class com.kristensoft.kdc.TcpServerSocketOptions
-
Returns whether address reuse is enabled.
- getReuseAddress() - Method in class com.kristensoft.kdc.UdpSocketOptions
-
Returns whether address reuse is configured.
- getSendBufferSize() - Method in class com.kristensoft.kdc.SocketOptions
-
Returns the configured socket send buffer size.
- getSendBufferSize() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns the configured socket send buffer size.
- getSendBufferSize() - Method in class com.kristensoft.kdc.UdpSocketOptions
-
Returns the configured send buffer size.
- getSerializationFormat() - Method in class com.kristensoft.kdc.Parameters
-
Gets the serialization format used to serialize agent data.
- getServerHub() - Method in class com.kristensoft.kdc.Client
-
Gets the server hub associated with this client.
- getShortUUID() - Method in class com.kristensoft.kdc.Agent
-
Returns a shortened representation of the agent UUID for use in logging and diagnostics.
- getSizeInBytes() - Method in class com.kristensoft.kdc.Agent
-
Returns the transmitted size of this agent.
- getSocketOptions() - Method in class com.kristensoft.kdc.TcpClientParameters
-
Returns the socket options used to configure the TCP client's socket.
- getSoLingerOn() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns whether
SO_LINGERis enabled. - getSoLingerTime() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns the configured
SO_LINGERtime. - getSoTimeout() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns the configured socket read timeout.
- getSoTimeout() - Method in class com.kristensoft.kdc.TcpServerSocketOptions
-
Returns the configured socket timeout.
- getSoTimeout() - Method in class com.kristensoft.kdc.UdpSocketOptions
-
Returns the configured socket timeout.
- getStartTime(LatencyMetric) - Method in class com.kristensoft.kdc.Agent
-
Returns the start time recorded for the specified latency metric.
- getStartTimeLine() - Method in class com.kristensoft.kdc.LatencyRecord
-
Returns a copy of the recorded start timestamps.
- getStopTime(LatencyMetric) - Method in class com.kristensoft.kdc.Agent
-
Returns the stop time recorded for the specified latency metric.
- getStopTimeLine() - Method in class com.kristensoft.kdc.LatencyRecord
-
Returns a copy of the recorded stop timestamps.
- getSyncReplyTimeout() - Method in class com.kristensoft.kdc.ClientParameters
-
Gets the amount of time a synchronous send waits for a reply before timing out.
- getTcpClientEventHandlers() - Method in class com.kristensoft.kdc.TcpClientParameters
-
Returns the TCP client event handlers registered with this configuration.
- getTcpClientEventHandlers() - Method in class com.kristensoft.kdc.TcpServerParameters
-
Returns an unmodifiable list of the registered TCP client event handlers.
- getTcpClientParameters() - Method in class com.kristensoft.kdc.TcpClient
-
Returns the parameters used to configure this TCP client.
- getTcpClientSocketOptions() - Method in class com.kristensoft.kdc.TcpServerParameters
-
Returns the socket options used by TCP clients created by this server.
- getTcpNoDelay() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns whether the Nagle algorithm is disabled for the socket.
- getTcpServerEventHandlers() - Method in class com.kristensoft.kdc.TcpServerParameters
-
Returns an unmodifiable list of the registered TCP server event handlers.
- getTcpServerParameters() - Method in class com.kristensoft.kdc.TcpServer
-
Returns the configuration parameters for this TCP server.
- getTcpServerSocketOptions() - Method in class com.kristensoft.kdc.TcpServerParameters
-
Returns the socket options used by this TCP server.
- getTimeToLive() - Method in class com.kristensoft.kdc.MulticastSocketOptions
-
Returns the configured multicast time-to-live.
- getTimeUnit() - Method in class com.kristensoft.kdc.KristenHttpServerParameters
-
Returns the time unit used for the thread keep-alive time.
- getTitle() - Method in enum com.kristensoft.kdc.LatencyMetric
-
Returns the abbreviated title of this latency metric.
- getTrafficClass() - Method in class com.kristensoft.kdc.SocketOptions
-
Returns the configured IP traffic class.
- getTrafficClass() - Method in class com.kristensoft.kdc.TcpClientSocketOptions
-
Returns the configured IP traffic class.
- getTrafficClass() - Method in class com.kristensoft.kdc.UdpSocketOptions
-
Returns the configured IP traffic class.
- getUdpClientEventHandlers() - Method in class com.kristensoft.kdc.UdpClientParameters
-
Returns an unmodifiable list of the registered UDP client event handlers.
- getUdpClientParameters() - Method in class com.kristensoft.kdc.UdpClient
-
Returns the configuration parameters for this UDP client.
- getUdpSocketOptions() - Method in class com.kristensoft.kdc.UdpClientParameters
-
Returns the socket options used by this UDP client.
- getUriPath() - Method in class com.kristensoft.kdc.KristenHttpServerParameters
-
Returns the URI path used for the default HTTP context.
- getUrlString() - Method in class com.kristensoft.kdc.KristenHttpClientParameters
-
Returns the URL used by this HTTP client.
- getUUID() - Method in class com.kristensoft.kdc.Agent
-
Returns the unique identifier for this agent.
- getVisitorMethodName() - Method in class com.kristensoft.kdc.Agent
-
Retrieves the name of the visitor method.
- getWhiteList() - Method in class com.kristensoft.kdc.Parameters
-
Gets the list of classes permitted for deserialization.
H
- halt() - Method in class com.kristensoft.kdc.Client
-
Halts this client by closing its networking resources and stopping its receiver thread.
- halt() - Method in class com.kristensoft.kdc.Hub
-
Halts all clients currently associated with this hub and removes them from the collection.
- halt() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Halts this HTTP server by closing it.
- halt() - Method in class com.kristensoft.kdc.Server
-
Stops this server and closes its transport-specific resources.
- halt() - Method in class com.kristensoft.kdc.TcpServer
-
Halts all clients connected to this TCP server and then stops the server.
- haltAllClients() - Method in class com.kristensoft.kdc.TcpServer
-
Halts all clients connected to this TCP server.
- handleConnection(Socket) - Method in class com.kristensoft.kdc.TcpServer
-
Creates and starts a server-side
TcpClientfor an accepted socket. - hasData(Enum<?>) - Method in class com.kristensoft.kdc.Agent
-
Determines whether data is associated with the name of the specified enum constant.
- hasData(String) - Method in class com.kristensoft.kdc.Agent
-
Determines whether data is associated with the specified key.
- hasReceiveBufferSize() - Method in class com.kristensoft.kdc.SocketOptions
-
Indicates whether the receive buffer size was explicitly configured.
- hasReuseAddress() - Method in class com.kristensoft.kdc.SocketOptions
-
Indicates whether address reuse was explicitly configured.
- hasSendBufferSize() - Method in class com.kristensoft.kdc.SocketOptions
-
Indicates whether the send buffer size was explicitly configured.
- hasTrafficClass() - Method in class com.kristensoft.kdc.SocketOptions
-
Indicates whether the IP traffic class was explicitly configured.
- HTTP - com.kristensoft.kdc.Protocol
-
Hypertext Transfer Protocol (HTTP).
- Hub - Class in com.kristensoft.kdc
-
Manages a collection of KDC clients as a single communication entity.
- Hub() - Constructor for class com.kristensoft.kdc.Hub
-
Creates an empty client hub.
I
- isAutoReconnect() - Method in class com.kristensoft.kdc.TcpClientParameters
-
Returns whether automatic reconnection is enabled.
- isAutoStart() - Method in class com.kristensoft.kdc.Parameters
-
Determines whether the communication entity is configured to start automatically.
- isComplete() - Method in class com.kristensoft.kdc.LatencyRecord
-
Determines whether all metrics associated with this record have valid start and stop timestamps.
- isCompressed() - Method in class com.kristensoft.kdc.AgentSerializer
-
Determines whether compression is enabled for this serializer.
- isCompressed() - Method in class com.kristensoft.kdc.Parameters
-
Determines whether compression is enabled for serialized agent data.
- isConnected() - Method in class com.kristensoft.kdc.TcpClient
-
Returns whether this client is currently connected to the remote TCP endpoint.
- isConnecting() - Method in class com.kristensoft.kdc.TcpClient
-
Returns whether this client is currently attempting to establish a TCP connection.
- isCrc() - Method in class com.kristensoft.kdc.Parameters
-
Determines whether CRC integrity checking is enabled for serialized agent data.
- isCrcCheck() - Method in class com.kristensoft.kdc.AgentSerializer
-
Determines whether CRC checking is enabled for this serializer.
- isDispatchable() - Method in class com.kristensoft.kdc.Agent
-
Determines whether the object is 'dispatchable' based on the presence of non-empty visitor method name and API class name.
- isLastReply() - Method in class com.kristensoft.kdc.Reply
-
Indicates whether this is the final reply in the reply sequence.
- isLatencyModeOn() - Method in class com.kristensoft.kdc.Parameters
-
Determines whether latency metrics collection is enabled.
- isSuccess() - Method in class com.kristensoft.kdc.Reply
-
Indicates whether the operation completed successfully.
- isSynchronous() - Method in class com.kristensoft.kdc.Agent
-
Determines whether this agent is participating in a synchronous communication.
J
- joinGroup(InetSocketAddress) - Method in class com.kristensoft.kdc.MulticastClient
-
Joins the specified multicast group.
K
- KristenCommsException - Exception in com.kristensoft.kdc
-
Exception thrown when an error occurs within the Kristen Data Communications (KDC) framework.
- KristenCommsException(String) - Constructor for exception com.kristensoft.kdc.KristenCommsException
-
Constructs a KDC exception with the specified detail message.
- KristenCommsException(String, Throwable) - Constructor for exception com.kristensoft.kdc.KristenCommsException
-
Constructs a KDC exception with the specified detail message and underlying cause.
- KristenHttpClient - Class in com.kristensoft.kdc
-
Provides a KDC client for sending agents using the HTTP protocol.
- KristenHttpClient(KristenHttpClientParameters) - Constructor for class com.kristensoft.kdc.KristenHttpClient
-
Creates an HTTP client using the specified parameters.
- KristenHttpClientEventAdapter - Class in com.kristensoft.kdc
-
Provides an empty implementation of
KristenHttpClientEventHandler. - KristenHttpClientEventAdapter() - Constructor for class com.kristensoft.kdc.KristenHttpClientEventAdapter
-
Creates a client event adapter with no-op event handlers.
- KristenHttpClientEventHandler - Interface in com.kristensoft.kdc
-
Receives events generated by a
KristenHttpClient. - KristenHttpClientParameters - Class in com.kristensoft.kdc
-
Defines configuration parameters for a
KristenHttpClient. - KristenHttpClientParameters.Builder - Class in com.kristensoft.kdc
-
Builds
KristenHttpClientParametersinstances. - KristenHttpServer - Class in com.kristensoft.kdc
-
Provides a KDC server for receiving and processing agents using the HTTP protocol.
- KristenHttpServer(KristenHttpServerParameters) - Constructor for class com.kristensoft.kdc.KristenHttpServer
-
Creates an HTTP server using the specified parameters.
- KristenHttpServerEventAdapter - Class in com.kristensoft.kdc
-
Provides an empty implementation of
KristenHttpServerEventHandler. - KristenHttpServerEventAdapter() - Constructor for class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Creates an HTTP server event adapter with no-op event handlers.
- KristenHttpServerEventHandler - Interface in com.kristensoft.kdc
-
Receives lifecycle, context, and agent events from a
KristenHttpServer. - KristenHttpServerParameters - Class in com.kristensoft.kdc
-
Defines configuration parameters for a
KristenHttpServer. - KristenHttpServerParameters.Builder - Class in com.kristensoft.kdc
-
Builds
KristenHttpServerParametersinstances.
L
- LatencyContext - Enum in com.kristensoft.kdc
-
Defines the latency measurement contexts used by KDC.
- LatencyMetric - Enum in com.kristensoft.kdc
-
Identifies the individual latency measurements collected by KDC.
- LatencyRecord - Class in com.kristensoft.kdc
-
Contains latency measurements collected during KDC agent communication and processing.
- LatencyRecord() - Constructor for class com.kristensoft.kdc.LatencyRecord
-
Constructs an empty latency record.
- leaveGroup(InetSocketAddress) - Method in class com.kristensoft.kdc.MulticastClient
-
Leaves the specified multicast group.
M
- MAX_RECEIVE_BUFFER_SIZE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default maximum size of the receive buffer, in bytes.
- MAX_SEND_BUFFER_SIZE - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default maximum size of the send buffer, in bytes.
- MULTICAST - com.kristensoft.kdc.Protocol
-
IP multicast communication using UDP datagrams.
- MulticastClient - Class in com.kristensoft.kdc
-
Provides a KDC client for sending and receiving agents using multicast communication.
- MulticastClient(MulticastParameters) - Constructor for class com.kristensoft.kdc.MulticastClient
-
Creates a multicast client using the specified configuration.
- MulticastClientEventAdapter - Class in com.kristensoft.kdc
-
Convenience adapter for handling
MulticastClientevents. - MulticastClientEventAdapter() - Constructor for class com.kristensoft.kdc.MulticastClientEventAdapter
-
Creates a multicast client event adapter with no-op event handlers.
- MulticastClientEventHandler - Interface in com.kristensoft.kdc
-
Defines event callbacks for monitoring the operation of a
MulticastClient. - MulticastParameters - Class in com.kristensoft.kdc
-
Defines configuration parameters for a
MulticastClient. - MulticastParameters.Builder - Class in com.kristensoft.kdc
-
Builds
MulticastParametersinstances. - MulticastSocketOptions - Class in com.kristensoft.kdc
-
Defines socket options for multicast communication.
- MulticastSocketOptions.Builder - Class in com.kristensoft.kdc
-
Builds
MulticastSocketOptionsinstances.
N
- NamedThreadFactory - Class in com.kristensoft.kdc
-
Creates threads with unique, sequentially numbered names.
- NamedThreadFactory(String) - Constructor for class com.kristensoft.kdc.NamedThreadFactory
-
Constructs a thread factory using the specified base name.
- newThread(Runnable) - Method in class com.kristensoft.kdc.NamedThreadFactory
-
Creates a new thread for executing the specified task.
- nextReply() - Method in class com.kristensoft.kdc.Client
-
Waits for and returns the next reply received by this client.
O
- ON_CLIENT - com.kristensoft.kdc.ClientType
-
Identifies a client that initiated a connection to a remote server.
- ON_SERVER - com.kristensoft.kdc.ClientType
-
Identifies a client created from a connection accepted by a server.
- onAgentReceived(Agent) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when an agent has been received by the HTTP server.
- onAgentReceived(Agent) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when an agent has been received by the HTTP server.
- onConnecting(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client begins attempting to establish a connection.
- onConnecting(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client begins attempting to establish a connection.
- onConnectionAttemptAborted(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when a TCP connection attempt is aborted.
- onConnectionAttemptAborted(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when a TCP connection attempt is aborted.
- onConnectionClosed(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client's connection is closed.
- onConnectionClosed(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client's connection is closed.
- onConnectionDropped(TcpClient, String, Exception) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when an established TCP connection is dropped.
- onConnectionDropped(TcpClient, String, Exception) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when an established TCP connection is dropped.
- onConnectionEstablished(KristenHttpClient) - Method in class com.kristensoft.kdc.KristenHttpClientEventAdapter
-
Called when an HTTP connection is successfully established.
- onConnectionEstablished(KristenHttpClient) - Method in interface com.kristensoft.kdc.KristenHttpClientEventHandler
-
Called when an HTTP connection is successfully established.
- onConnectionEstablished(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client establishes a connection.
- onConnectionEstablished(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client establishes a connection.
- onConnectionEstablished(TcpClient) - Method in class com.kristensoft.kdc.TcpServerEventAdapter
-
Called when a client connection has been established.
- onConnectionEstablished(TcpClient) - Method in interface com.kristensoft.kdc.TcpServerEventHandler
-
Called when a client connection has been established.
- onConnectionFailed(KristenHttpClient, Exception) - Method in class com.kristensoft.kdc.KristenHttpClientEventAdapter
-
Called when an HTTP connection attempt fails.
- onConnectionFailed(KristenHttpClient, Exception) - Method in interface com.kristensoft.kdc.KristenHttpClientEventHandler
-
Called when an HTTP connection attempt fails.
- onConnectionFailed(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when a TCP connection attempt fails.
- onConnectionFailed(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when a TCP connection attempt fails.
- onDatagramSent(DatagramPacket) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called after a multicast datagram has been sent.
- onDatagramSent(DatagramPacket) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called after a multicast datagram has been sent.
- onDatagramSent(DatagramPacket) - Method in class com.kristensoft.kdc.UdpClientEventAdapter
-
Called after a UDP datagram has been sent.
- onDatagramSent(DatagramPacket) - Method in interface com.kristensoft.kdc.UdpClientEventHandler
-
Called after a UDP datagram has been sent.
- onDefaultContextCreated(HttpContext) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when the default HTTP context has been created.
- onDefaultContextCreated(HttpContext) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when the default HTTP context has been created.
- onHttpContextCreated(HttpContext) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when an HTTP context has been created.
- onHttpContextCreated(HttpContext) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when an HTTP context has been created.
- onHttpContextRemoved(HttpContext) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when an HTTP context has been removed.
- onHttpContextRemoved(HttpContext) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when an HTTP context has been removed.
- onHttpContextRemoved(String) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when an HTTP context has been removed.
- onHttpContextRemoved(String) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when an HTTP context has been removed.
- onHttpServerCreated(HttpServer) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when the underlying HTTP server has been created.
- onHttpServerCreated(HttpServer) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when the underlying HTTP server has been created.
- onHttpServerStarted(HttpServer) - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when the underlying HTTP server has started.
- onHttpServerStarted(HttpServer) - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when the underlying HTTP server has started.
- onHttpServerStopped() - Method in class com.kristensoft.kdc.KristenHttpServerEventAdapter
-
Called when the underlying HTTP server has stopped.
- onHttpServerStopped() - Method in interface com.kristensoft.kdc.KristenHttpServerEventHandler
-
Called when the underlying HTTP server has stopped.
- onJoinedGroup(MulticastClient, InetSocketAddress) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called when the multicast client has joined a group.
- onJoinedGroup(MulticastClient, InetSocketAddress) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called when the multicast client has joined a group.
- onLeftGroup(MulticastClient, InetSocketAddress) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called when the multicast client has left a group.
- onLeftGroup(MulticastClient, InetSocketAddress) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called when the multicast client has left a group.
- onReceivedAgent(Agent) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called when an agent has been received.
- onReceivedAgent(Agent) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called when an agent has been received.
- onReceivedAgent(Agent) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when an agent is received by the TCP client.
- onReceivedAgent(Agent) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when an agent is received by the TCP client.
- onReceivedAgent(Agent) - Method in class com.kristensoft.kdc.UdpClientEventAdapter
-
Called when an agent has been received.
- onReceivedAgent(Agent) - Method in interface com.kristensoft.kdc.UdpClientEventHandler
-
Called when an agent has been received.
- onReceivedReply(Reply) - Method in class com.kristensoft.kdc.KristenHttpClientEventAdapter
-
Called when a reply is received.
- onReceivedReply(Reply) - Method in interface com.kristensoft.kdc.KristenHttpClientEventHandler
-
Called when a reply is received.
- onReceivedReply(Reply) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when a reply is received by the TCP client.
- onReceivedReply(Reply) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when a reply is received by the TCP client.
- onReconnecting(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client begins attempting to reconnect.
- onReconnecting(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client begins attempting to reconnect.
- onSendingAsyncAgent(Agent) - Method in class com.kristensoft.kdc.KristenHttpClientEventAdapter
-
Called when an asynchronous agent is being sent.
- onSendingAsyncAgent(Agent) - Method in interface com.kristensoft.kdc.KristenHttpClientEventHandler
-
Called when an asynchronous agent is being sent.
- onSendingAsyncAgent(Agent) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called when an asynchronous agent is being sent.
- onSendingAsyncAgent(Agent) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called when an asynchronous agent is being sent.
- onSendingAsyncAgent(Agent) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client is sending an asynchronous agent.
- onSendingAsyncAgent(Agent) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client is sending an asynchronous agent.
- onSendingAsyncAgent(Agent) - Method in class com.kristensoft.kdc.UdpClientEventAdapter
-
Called when an asynchronous agent is being sent.
- onSendingAsyncAgent(Agent) - Method in interface com.kristensoft.kdc.UdpClientEventHandler
-
Called when an asynchronous agent is being sent.
- onSendingSyncAgent(Agent) - Method in class com.kristensoft.kdc.KristenHttpClientEventAdapter
-
Called when a synchronous agent is being sent.
- onSendingSyncAgent(Agent) - Method in interface com.kristensoft.kdc.KristenHttpClientEventHandler
-
Called when a synchronous agent is being sent.
- onSendingSyncAgent(Agent) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client is sending a synchronous agent.
- onSendingSyncAgent(Agent) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client is sending a synchronous agent.
- onServerSocketClosed(TcpServer) - Method in class com.kristensoft.kdc.TcpServerEventAdapter
-
Called when the TCP server socket has been closed.
- onServerSocketClosed(TcpServer) - Method in interface com.kristensoft.kdc.TcpServerEventHandler
-
Called when the TCP server socket has been closed.
- onServerSocketEstablished(ServerSocket) - Method in class com.kristensoft.kdc.TcpServerEventAdapter
-
Called when the TCP server socket has been established.
- onServerSocketEstablished(ServerSocket) - Method in interface com.kristensoft.kdc.TcpServerEventHandler
-
Called when the TCP server socket has been established.
- onSocketClosed(MulticastClient) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called when the multicast socket has been closed.
- onSocketClosed(MulticastClient) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called when the multicast socket has been closed.
- onSocketClosed(UdpClient) - Method in class com.kristensoft.kdc.UdpClientEventAdapter
-
Called when the UDP socket has been closed.
- onSocketClosed(UdpClient) - Method in interface com.kristensoft.kdc.UdpClientEventHandler
-
Called when the UDP socket has been closed.
- onSocketCreated(TcpClient) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when a socket has been created for the TCP client.
- onSocketCreated(TcpClient) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when a socket has been created for the TCP client.
- onSocketCreated(DatagramSocket) - Method in class com.kristensoft.kdc.UdpClientEventAdapter
-
Called when the UDP socket has been created.
- onSocketCreated(DatagramSocket) - Method in interface com.kristensoft.kdc.UdpClientEventHandler
-
Called when the UDP socket has been created.
- onSocketCreated(MulticastSocket) - Method in class com.kristensoft.kdc.MulticastClientEventAdapter
-
Called when the multicast socket has been created.
- onSocketCreated(MulticastSocket) - Method in interface com.kristensoft.kdc.MulticastClientEventHandler
-
Called when the multicast socket has been created.
- onWaitingToReconnect(TcpClient, long) - Method in class com.kristensoft.kdc.TcpClientEventAdapter
-
Called when the TCP client is waiting before another reconnection attempt.
- onWaitingToReconnect(TcpClient, long) - Method in interface com.kristensoft.kdc.TcpClientEventHandler
-
Called when the TCP client is waiting before another reconnection attempt.
- onWebSocketBinary(byte[], int, int) - Method in class com.kristensoft.kdc.WebSocketEndpoint
-
Called when a binary message is received over the WebSocket connection.
- onWebSocketClose(int, String) - Method in class com.kristensoft.kdc.WebSocketEndpoint
-
Called when the WebSocket connection is closed.
- onWebSocketConnect(Session) - Method in class com.kristensoft.kdc.WebSocketEndpoint
-
Called when a WebSocket connection is established.
- onWebSocketError(Throwable) - Method in class com.kristensoft.kdc.WebSocketEndpoint
-
Called when an error occurs while processing the WebSocket connection.
- onWebSocketText(String) - Method in class com.kristensoft.kdc.WebSocketEndpoint
-
Called when a text message is received over the WebSocket connection.
P
- Parameters - Class in com.kristensoft.kdc
-
Base class for parameters used to configure KDC communication entities.
- Parameters.Builder<T extends Parameters.Builder<T>> - Class in com.kristensoft.kdc
-
Base builder for configuring common KDC communication parameters.
- Parameters.Defaults - Class in com.kristensoft.kdc
-
Holds global default values used by KDC parameter builders.
- peekReply() - Method in class com.kristensoft.kdc.Client
-
Returns the next reply received by this client without removing it from the reply queue.
- pollReply() - Method in class com.kristensoft.kdc.Client
-
Returns and removes the next reply received by this client.
- pollReply(long, TimeUnit) - Method in class com.kristensoft.kdc.Client
-
Waits up to the specified timeout for a reply and removes it from this client's reply queue.
- Protocol - Enum in com.kristensoft.kdc
-
Defines the communication protocols supported by KDC.
R
- receive() - Method in class com.kristensoft.kdc.KristenHttpClient
-
Receiving an agent directly is not supported by the HTTP client.
- RECEIVE_ASYNC - com.kristensoft.kdc.LatencyContext
-
Latency metrics associated with receiving and processing an asynchronous agent.
- RECEIVE_SYNC - com.kristensoft.kdc.LatencyContext
-
Latency metrics associated with receiving and processing a synchronous agent.
- RECONNECT_DELAY - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default amount of time a TCP client waits between reconnection attempts.
- registerApi(Class<A>, API) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Registers an API implementation for the specified API class.
- registerApi(String, API) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Registers an API implementation using the fully qualified name of the API class.
- registerApis(Map<String, API>) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Registers multiple API implementations with this builder.
- REMOTE_ADDRESS - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default remote address used by clients.
- removeClient(Client) - Method in class com.kristensoft.kdc.Hub
-
Removes a client from this hub.
- removeFromWhitelist(String) - Method in class com.kristensoft.kdc.AgentSerializer
-
Removes a class or package name from the whitelist of classes permitted during deserialization.
- Reply - Class in com.kristensoft.kdc
-
Represents a reply returned to the sender of an
Agentduring synchronous or asynchronous communication. - Reply() - Constructor for class com.kristensoft.kdc.Reply
-
Constructs a reply with default values.
- REPLY_DESERIALIZE - com.kristensoft.kdc.LatencyMetric
-
Time spent de-serializing a received reply.
- REPLY_RECEIVE - com.kristensoft.kdc.LatencyMetric
-
Time spent receiving a reply.
- REPLY_SEND - com.kristensoft.kdc.LatencyMetric
-
Time spent sending a reply.
- REPLY_SERIALIZE - com.kristensoft.kdc.LatencyMetric
-
Time spent serializing a reply before transmission.
- REPLY_WAIT - com.kristensoft.kdc.LatencyMetric
-
Time spent waiting for a synchronous reply.
- replyAvailable() - Method in class com.kristensoft.kdc.Client
-
Determines whether a reply is currently available for this client.
- run() - Method in class com.kristensoft.kdc.Client
-
Runs the client receiver thread.
- run() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Starts this HTTP server.
- run() - Method in class com.kristensoft.kdc.Server
-
Executes the main processing loop for this server.
- run() - Method in class com.kristensoft.kdc.TcpServer
-
Runs the TCP server and accepts incoming client connections.
- run() - Method in class com.kristensoft.kdc.WebSocketServer
-
Starts the Jetty WebSocket server and waits for it to terminate.
S
- send(byte[]) - Method in class com.kristensoft.kdc.KristenHttpClient
-
Sends the specified bytes using the synchronous HTTP send operation.
- SEND_ASYNC - com.kristensoft.kdc.LatencyContext
-
Latency metrics associated with sending an agent asynchronously.
- SEND_SYNC - com.kristensoft.kdc.LatencyContext
-
Latency metrics associated with a synchronous agent round trip.
- SEND_SYNC_REPLY_WAIT_TIME - Static variable in class com.kristensoft.kdc.Parameters.Defaults
-
The default amount of time a synchronous send waits for a reply before timing out.
- sendAsync(Agent) - Method in class com.kristensoft.kdc.Client
-
Sends an agent asynchronously to the receiver.
- sendAsync(Agent) - Method in class com.kristensoft.kdc.Hub
-
Sends an agent asynchronously to every client currently in this hub.
- sendAsync(Agent) - Method in class com.kristensoft.kdc.KristenHttpClient
-
Sends an agent asynchronously to the configured HTTP server.
- sendAsync(Agent) - Method in class com.kristensoft.kdc.Server
-
Sends an asynchronous agent to all clients connected to this server.
- sendAsync(Agent, InetSocketAddress) - Method in class com.kristensoft.kdc.MulticastClient
-
Sends an agent asynchronously to the specified multicast group.
- sendSync(Agent) - Method in class com.kristensoft.kdc.KristenHttpClient
-
Sends an agent synchronously to the configured HTTP server and waits for a reply.
- sendSync(Agent) - Method in class com.kristensoft.kdc.TcpClient
-
Sends the specified agent synchronously and waits for its corresponding reply.
- serialize(Agent) - Method in class com.kristensoft.kdc.AgentSerializer
-
Serializes the specified agent into a KDC packet for transmission.
- Server - Class in com.kristensoft.kdc
-
Provides the base implementation for KDC communication servers.
- ServerParameters - Class in com.kristensoft.kdc
-
Provides common configuration parameters for KDC servers.
- ServerParameters.Builder<T extends ServerParameters.Builder<T>> - Class in com.kristensoft.kdc
-
Base builder for KDC server parameters.
- setCompressed(boolean) - Method in class com.kristensoft.kdc.AgentSerializer
-
Enables or disables compression for this serializer.
- setCrcCheck(boolean) - Method in class com.kristensoft.kdc.AgentSerializer
-
Enables or disables CRC checking for serialized packets.
- setData(Enum<?>, Object) - Method in class com.kristensoft.kdc.Agent
-
Associates an application-defined value with the name of the specified enum constant.
- setData(String, Object) - Method in class com.kristensoft.kdc.Agent
-
Associates an application-defined value with the specified key.
- setEncryptionKey(EncryptionKey) - Method in class com.kristensoft.kdc.AgentSerializer
-
Sets the encryption key used by this serializer.
- setException(Throwable) - Method in class com.kristensoft.kdc.Reply
-
Sets the exception associated with this reply.
- setFormat(KristenObjectsSerializer.SerializationFormat) - Method in class com.kristensoft.kdc.AgentSerializer
-
Sets the serialization format used by this serializer.
- setHttpResponseCode(int) - Method in class com.kristensoft.kdc.Reply
-
Sets the HTTP response code associated with this reply.
- setLastReply(boolean) - Method in class com.kristensoft.kdc.Reply
-
Sets whether this is the final reply for the in the reply sequence.
- setMessage(String) - Method in class com.kristensoft.kdc.Reply
-
Sets the message associated with this reply.
- setResponse(Reply) - Method in class com.kristensoft.kdc.Agent
-
Set the response to be received by the receiver.
- setSuccess(boolean) - Method in class com.kristensoft.kdc.Reply
-
Sets whether the operation completed successfully.
- setUUID(UUID) - Method in class com.kristensoft.kdc.Agent
-
Sets the unique identifier for this agent.
- setVisitMethod(String, Class) - Method in class com.kristensoft.kdc.Agent
-
Sets the visit method name and API class for the visitor.
- setVisitMethod(String, String) - Method in class com.kristensoft.kdc.Agent
-
Sets the visit method name and API class for the visitor.
- size() - Method in class com.kristensoft.kdc.Hub
-
Returns the number of clients currently in this hub.
- SocketOptions - Class in com.kristensoft.kdc
-
Defines common socket configuration options used by KDC communication transports.
- SocketOptions.Builder<T extends SocketOptions.Builder<T>> - Class in com.kristensoft.kdc
-
Base builder for configuring common socket options.
- start() - Method in class com.kristensoft.kdc.Client
-
Starts this client's receiver thread.
- start() - Method in class com.kristensoft.kdc.KristenHttpServer
-
Starts this HTTP server.
- start() - Method in class com.kristensoft.kdc.Server
-
Starts the server thread responsible for accepting incoming connections.
- stop() - Method in class com.kristensoft.kdc.Client
-
Stops this client's receiver thread and removes the client from its associated server hub, if applicable.
- stop() - Method in class com.kristensoft.kdc.Server
-
Stops the server thread responsible for accepting incoming connections.
- stop() - Method in class com.kristensoft.kdc.TcpServer
-
Stops this TCP server and closes its server socket.
- stop(int) - Method in class com.kristensoft.kdc.KristenHttpServer
-
Stops this HTTP server.
T
- takeReply() - Method in class com.kristensoft.kdc.Client
-
Waits for and removes the next reply from this client's reply queue.
- TCP - com.kristensoft.kdc.Protocol
-
Transmission Control Protocol (TCP).
- TcpClient - Class in com.kristensoft.kdc
-
Provides a TCP client for sending and receiving
Agentinstances over a TCP connection. - TcpClient(TcpClientParameters) - Constructor for class com.kristensoft.kdc.TcpClient
-
Creates a TCP client using the specified configuration.
- TcpClientEventAdapter - Class in com.kristensoft.kdc
-
Provides a convenience adapter for receiving
TcpClientevents. - TcpClientEventHandler - Interface in com.kristensoft.kdc
-
Defines event callbacks for monitoring the operation of a
TcpClient. - TcpClientParameters - Class in com.kristensoft.kdc
-
Defines the configuration parameters for a
TcpClient. - TcpClientParameters.Builder - Class in com.kristensoft.kdc
-
Builds
TcpClientParametersinstances. - TcpClientSocketOptions - Class in com.kristensoft.kdc
-
Defines socket options used to configure a TCP client socket.
- TcpClientSocketOptions.Builder - Class in com.kristensoft.kdc
-
Builds
TcpClientSocketOptionsinstances. - TcpServer - Class in com.kristensoft.kdc
-
Provides a TCP server that accepts incoming socket connections and creates
TcpClientinstances for connected clients. - TcpServer(TcpServerParameters) - Constructor for class com.kristensoft.kdc.TcpServer
-
Creates a TCP server using the specified configuration parameters.
- TcpServerEventAdapter - Class in com.kristensoft.kdc
-
Provides empty implementations of
TcpServerEventHandlermethods. - TcpServerEventAdapter() - Constructor for class com.kristensoft.kdc.TcpServerEventAdapter
-
Creates a TCP server event adapter with no-op event handlers.
- TcpServerEventHandler - Interface in com.kristensoft.kdc
-
Receives events generated by a
TcpServer. - TcpServerParameters - Class in com.kristensoft.kdc
-
Builder-based TCP server parameters.
- TcpServerParameters.Builder - Class in com.kristensoft.kdc
-
Builds
TcpServerParametersinstances. - TcpServerSocketOptions - Class in com.kristensoft.kdc
-
Defines socket options for a
TcpServer. - TcpServerSocketOptions.Builder - Class in com.kristensoft.kdc
-
Builds
TcpServerSocketOptionsinstances. - toLogString(String) - Method in class com.kristensoft.kdc.Agent
-
Returns a string representation of the current object, which includes the name of the class, the visitor method name, and the API class name.
- toString() - Method in class com.kristensoft.kdc.Agent
U
- UDP - com.kristensoft.kdc.Protocol
-
User Datagram Protocol (UDP).
- UdpClient - Class in com.kristensoft.kdc
-
Provides a KDC client for sending and receiving agents using the UDP protocol.
- UdpClient(UdpClientParameters) - Constructor for class com.kristensoft.kdc.UdpClient
-
Creates a UDP client using the specified parameters.
- UdpClientEventAdapter - Class in com.kristensoft.kdc
-
Convenience adapter for
UdpClientEventHandler. - UdpClientEventAdapter() - Constructor for class com.kristensoft.kdc.UdpClientEventAdapter
-
Creates a UDP client event adapter with no-op event handlers.
- UdpClientEventHandler - Interface in com.kristensoft.kdc
-
Defines event callbacks for monitoring the operation of a
UdpClient. - UdpClientParameters - Class in com.kristensoft.kdc
-
Defines configuration parameters for a
UdpClient. - UdpClientParameters.Builder - Class in com.kristensoft.kdc
-
Builds
UdpClientParametersinstances. - UdpSocketOptions - Class in com.kristensoft.kdc
-
Defines socket options for UDP and multicast communication.
- UdpSocketOptions.Builder - Class in com.kristensoft.kdc
-
Builds
UdpSocketOptionsinstances. - UNKNOWN - com.kristensoft.kdc.Protocol
-
Unknown or unspecified protocol.
V
- valueOf(String) - Static method in enum com.kristensoft.kdc.ClientType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kristensoft.kdc.LatencyContext
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kristensoft.kdc.LatencyMetric
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.kristensoft.kdc.Protocol
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.kristensoft.kdc.ClientType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.kristensoft.kdc.LatencyContext
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.kristensoft.kdc.LatencyMetric
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.kristensoft.kdc.Protocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WEBSOCKET - com.kristensoft.kdc.Protocol
-
WebSocket communication.
- WebSocketEndpoint - Class in com.kristensoft.kdc
-
Provides the WebSocket endpoint used by a
WebSocketServerto receive client connections and messages. - WebSocketEndpoint() - Constructor for class com.kristensoft.kdc.WebSocketEndpoint
-
Creates a WebSocket endpoint.
- WebSocketServer - Class in com.kristensoft.kdc
-
Provides a KDC server that receives agents using the WebSocket protocol.
- WebSocketServer(WebSocketServerParameters) - Constructor for class com.kristensoft.kdc.WebSocketServer
-
Creates a WebSocket server using the specified parameters.
- WebSocketServerParameters - Class in com.kristensoft.kdc
-
Defines configuration parameters for a
WebSocketServer. - WebSocketServerParameters.Builder - Class in com.kristensoft.kdc
-
Builds
WebSocketServerParametersinstances. - withAutoReconnect(boolean) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Sets whether the TCP client automatically attempts to reconnect when its connection is lost.
- withAutoStart(boolean) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets whether the communication entity starts automatically.
- withBacklog(int) - Method in class com.kristensoft.kdc.ServerParameters.Builder
-
Sets the server socket backlog used for pending connection requests.
- withBindAddress(int) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the local port to which the communication entity binds, using the local loopback address as the bind address.
- withBindAddress(String, int) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the local host and port to which the communication entity binds.
- withBindAddress(InetSocketAddress) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the local network address to which the communication entity binds.
- withBroadcast(Boolean) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets whether broadcast is enabled.
- withBroadcast(Boolean) - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Sets whether broadcast is enabled.
- withClientSocketOptions(TcpClientSocketOptions) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Sets the socket options used by TCP clients created by the server.
- withCompressed(boolean) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets whether compression is enabled for serialized agent data.
- withConnectionQueuePoolSize(int) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the number of worker threads in the connection queue thread pool.
- withConnectionTimeout(int) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Sets the amount of time allowed for establishing a TCP connection.
- withCorePoolSize(int) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Sets the core number of threads used to process HTTP requests.
- withCrc(boolean) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets whether CRC integrity checking is enabled for serialized agent data.
- withEncryptionKey(EncryptionKey) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the encryption key used to encrypt and decrypt serialized agent data.
- withEndpointClass(Class<? extends WebSocketEndpoint>) - Method in class com.kristensoft.kdc.WebSocketServerParameters.Builder
-
Sets the WebSocket endpoint class.
- withEventHandlers(List<KristenHttpClientEventHandler>) - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Replaces the configured HTTP client event handlers with the specified handlers.
- withEventHandlers(List<KristenHttpServerEventHandler>) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Replaces the currently configured HTTP server event handlers with the specified handlers.
- withEventHandlers(List<MulticastClientEventHandler>) - Method in class com.kristensoft.kdc.MulticastParameters.Builder
-
Replaces the multicast client event handlers with the specified handlers.
- withEventHandlers(List<TcpClientEventHandler>) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Replaces the TCP client event handlers in this configuration with the specified handlers.
- withEventHandlers(List<UdpClientEventHandler>) - Method in class com.kristensoft.kdc.UdpClientParameters.Builder
-
Replaces the UDP client event handlers with the specified handlers.
- withKeepAlive(Boolean) - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Sets whether HTTP keep-alive is enabled.
- withKeepAlive(Boolean) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets whether TCP keep-alive is enabled.
- withKeepAliveTime(long) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Sets the amount of time excess idle threads may remain alive.
- withLatencyMode(boolean) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets whether latency metrics collection is enabled.
- withLatencyReportingInterval(long) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the interval at which latency metrics are reported.
- withLoopbackModeDisabled(Boolean) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets whether multicast loopback mode is disabled.
- withMaxConnections(Integer) - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Sets the maximum number of HTTP connections.
- withMaxPoolSize(int) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Sets the maximum number of threads used to process HTTP requests.
- withMaxReceivedBufferSize(int) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the maximum size of the receive buffer, in bytes.
- withMaxSendBufferSize(int) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the maximum size of the send buffer, in bytes.
- withNetworkInterface(NetworkInterface) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets the network interface used for multicast communication.
- withPath(String) - Method in class com.kristensoft.kdc.WebSocketServerParameters.Builder
-
Sets the WebSocket endpoint path.
- withReceiveBufferSize(int) - Method in class com.kristensoft.kdc.SocketOptions.Builder
-
Configures the socket receive buffer size.
- withReceiveBufferSize(Integer) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets the receive buffer size.
- withReceiveBufferSize(Integer) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets the socket receive buffer size.
- withReceiveBufferSize(Integer) - Method in class com.kristensoft.kdc.TcpServerSocketOptions.Builder
-
Sets the receive buffer size for the server socket.
- withReceiveBufferSize(Integer) - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Sets the receive buffer size.
- withReconnectDelay(int) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Sets the amount of time to wait between TCP reconnection attempts.
- withRemoteAddress(int) - Method in class com.kristensoft.kdc.ClientParameters.Builder
-
Sets the remote address to the local loopback address using the specified port.
- withRemoteAddress(String, int) - Method in class com.kristensoft.kdc.ClientParameters.Builder
-
Sets the remote address using the specified host and port.
- withRemoteAddress(InetAddress, int) - Method in class com.kristensoft.kdc.ClientParameters.Builder
-
Sets the remote address using the specified network address and port.
- withRemoteAddress(InetSocketAddress) - Method in class com.kristensoft.kdc.ClientParameters.Builder
-
Sets the remote address to which the client will connect.
- withReuseAddress(boolean) - Method in class com.kristensoft.kdc.SocketOptions.Builder
-
Configures whether the socket may reuse its local address.
- withReuseAddress(Boolean) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets whether address reuse is enabled.
- withReuseAddress(Boolean) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets whether the socket address may be reused.
- withReuseAddress(Boolean) - Method in class com.kristensoft.kdc.TcpServerSocketOptions.Builder
-
Sets whether the server socket allows reuse of the local address.
- withReuseAddress(Boolean) - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Sets whether address reuse is enabled.
- withSendBufferSize(int) - Method in class com.kristensoft.kdc.SocketOptions.Builder
-
Configures the socket send buffer size.
- withSendBufferSize(Integer) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets the send buffer size.
- withSendBufferSize(Integer) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets the socket send buffer size.
- withSendBufferSize(Integer) - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Sets the send buffer size.
- withSendSyncTimeout(long) - Method in class com.kristensoft.kdc.ClientParameters.Builder
-
Sets the amount of time a synchronous send waits for a reply before timing out.
- withSerializationFormat(KristenObjectsSerializer.SerializationFormat) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets the serialization format used to serialize agent data.
- withServerSocketOptions(TcpServerSocketOptions) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Sets the TCP server socket options.
- withSocketOptions(MulticastSocketOptions) - Method in class com.kristensoft.kdc.MulticastParameters.Builder
-
Sets the socket options used by this multicast client.
- withSocketOptions(TcpClientSocketOptions) - Method in class com.kristensoft.kdc.TcpClientParameters.Builder
-
Sets the socket options used to configure the TCP client's socket.
- withSocketOptions(UdpSocketOptions) - Method in class com.kristensoft.kdc.UdpClientParameters.Builder
-
Sets the socket options object used by this UDP client.
- withSoLinger(Boolean, Integer) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets the socket
SO_LINGERconfiguration. - withSoTimeout(Integer) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets the socket timeout.
- withSoTimeout(Integer) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets the socket read timeout.
- withSoTimeout(Integer) - Method in class com.kristensoft.kdc.TcpServerSocketOptions.Builder
-
Sets the timeout for server socket operations.
- withSoTimeout(Integer) - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Sets the socket timeout.
- withTcpClientEventHandlers(List<TcpClientEventHandler>) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Replaces the TCP client event handlers with the specified handlers.
- withTcpNoDelay(Boolean) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets whether the Nagle algorithm is disabled for the socket.
- withTcpOobInline(Boolean) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets whether received TCP urgent data is placed inline with normal socket data.
- withTcpServerEventHandlers(List<TcpServerEventHandler>) - Method in class com.kristensoft.kdc.TcpServerParameters.Builder
-
Replaces the TCP server event handlers with the specified handlers.
- withTimeToLive(Integer) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets the multicast time-to-live.
- withTimeUnit(TimeUnit) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Sets the time unit used for the thread keep-alive time.
- withTrafficClass(int) - Method in class com.kristensoft.kdc.SocketOptions.Builder
-
Configures the IP traffic class for the socket.
- withTrafficClass(Integer) - Method in class com.kristensoft.kdc.MulticastSocketOptions.Builder
-
Sets the IP traffic class.
- withTrafficClass(Integer) - Method in class com.kristensoft.kdc.TcpClientSocketOptions.Builder
-
Sets the IP traffic class for the socket.
- withTrafficClass(Integer) - Method in class com.kristensoft.kdc.UdpSocketOptions.Builder
-
Sets the IP traffic class.
- withUriPath(String) - Method in class com.kristensoft.kdc.KristenHttpServerParameters.Builder
-
Sets the URI path used for the default HTTP context.
- withUrlString(String) - Method in class com.kristensoft.kdc.KristenHttpClientParameters.Builder
-
Sets the URL used by the HTTP client.
- withWhiteList(List<String>) - Method in class com.kristensoft.kdc.Parameters.Builder
-
Sets additional class and package entries permitted during deserialization.
All Classes All Packages