A B C D E F G H I K L M N O R S T U V _

A

AbstractConnection - Class in com.kuka.comm
An abstract implementation for the connection interface.
AbstractConnection() - Constructor for class com.kuka.comm.AbstractConnection
 
AbstractServer - Class in com.kuka.comm
Abstract base implementation of a Server.
AbstractServer() - Constructor for class com.kuka.comm.AbstractServer
 
AbstractServer.ConnectionConsumer - Interface in com.kuka.comm
Represents an operation on a connection that accepts a single input argument and returns no result.
AbstractThreadedServer - Class in com.kuka.comm
Abstract class to implement interface methods for a Server.
AbstractThreadedServer() - Constructor for class com.kuka.comm.AbstractThreadedServer
 
accept(Connection) - Method in interface com.kuka.comm.AbstractServer.ConnectionConsumer
Performs this operation on the given connection.
acceptConnection(S, T) - Method in class com.kuka.comm.net.NetConnectionHandler
Checks whether an incoming connection request is accepted.
addConnection(Connection) - Method in class com.kuka.comm.AbstractServer
Adds a connection to the internal list of connections.
addConnectionListener(ConnectionListener) - Method in class com.kuka.comm.AbstractConnection
 
addConnectionListener(ConnectionListener) - Method in interface com.kuka.comm.Connection
Adds a new ConnectionListener to the internal list notification subscribers.
addDecoder(S, Decoder<I, O>) - Method in class com.kuka.comm.codec.SwitchDecoder
Adds a Decoder to this DecoderSwitch and associates it with the given token.
addEncoder(Class<? extends T>, Encoder<T, O>) - Method in class com.kuka.comm.codec.SwitchEncoder
Public method to add an encoder to a list of encoder.
addMessageHandler(Class<M>, MessageHandler<M>) - Method in class com.kuka.comm.AbstractConnection
 
addMessageHandler(Class<M>, MessageHandler<M>) - Method in interface com.kuka.comm.Connection
Generic method to append a MessageHandler for a message type to the internal list of message handlers.
addServerListener(ServerListener) - Method in class com.kuka.comm.AbstractServer
 
addServerListener(ServerListener) - Method in interface com.kuka.comm.Server
Method to add a new listener for this server.
afterNextEncoder(Callable<Void>) - Method in class com.kuka.comm.codec.Encoder.EncoderContext
Stores a callable that gets executed after a concatenated encoder finished.
alwaysReconnect() - Static method in class com.kuka.comm.ReconnectStrategies
Creates a ReconnectStrategy that will allow infinite reconnection attempts.
awaitIsConnected(boolean, long) - Method in class com.kuka.comm.AbstractConnection
 
awaitIsConnected(boolean, long) - Method in interface com.kuka.comm.Connection
This method will block until {Connection.isConnected() returns the expected value or the timeout (in milliseconds) as been reached.

B

BaseConnectionListener - Class in com.kuka.comm
The corresponding adapter class for the ConnectionListener class that implements all event methods with an empty method body.
BaseConnectionListener() - Constructor for class com.kuka.comm.BaseConnectionListener
 
BaseServerListener - Class in com.kuka.comm
The corresponding adapter class for the ServerListener class that implements all event methods with an empty method body.
BaseServerListener() - Constructor for class com.kuka.comm.BaseServerListener
 
bindToPort(int) - Method in class com.kuka.comm.net.UdpConnection
Method used to bind this connection to a fixed internal port.
ByteBufferUtils - Class in com.kuka.comm.codec.bytebuffer
This is a helper class that provides various utility functions for dealing with the ByteBuffer class.
ByteOrderDecoder - Class in com.kuka.comm.codec.bytebuffer
A Decoder to modify the byte order of a ByteBuffer.
ByteOrderDecoder(ByteOrder) - Constructor for class com.kuka.comm.codec.bytebuffer.ByteOrderDecoder
Creates a new decoder, that modifies the byte order of the given byte buffer.
ByteOrderEncoder - Class in com.kuka.comm.codec.bytebuffer
An Encoder to modify the byte order of a ByteBuffer.
ByteOrderEncoder(ByteOrder) - Constructor for class com.kuka.comm.codec.bytebuffer.ByteOrderEncoder
Creates a new encoder, that modifies the byte order of the given byte buffer.

C

closeAllConnections() - Method in class com.kuka.comm.AbstractServer
Closes all connections currently in the list of known connections.
CodecException - Exception in com.kuka.comm.codec
A base exception for en- or decoding messages in context of KUKA Navigation Communication Framework.
CodecException(String) - Constructor for exception com.kuka.comm.codec.CodecException
Constructor with a string stating the reason for this exception.
CodecException(String, Throwable) - Constructor for exception com.kuka.comm.codec.CodecException
Constructor with a String stating the reason for this exception and a Throwable stating the cause.
com.kuka.comm - package com.kuka.comm
Public interfaces for navigation communication framework.
com.kuka.comm.codec - package com.kuka.comm.codec
Contains base classes for encoding and decoding messages.
com.kuka.comm.codec.bytebuffer - package com.kuka.comm.codec.bytebuffer
This package contains Encoders and Decoders dealing with ByteBuffers.
com.kuka.comm.net - package com.kuka.comm.net
Contains classes for network based connections.
concat(Decoder<O, T>) - Method in class com.kuka.comm.codec.Decoder
This method concatenates two decoders, i.e. they will be executed in a row.
concat(Encoder<I, O>) - Method in class com.kuka.comm.codec.Encoder
This method concatenates two encoders, i.e. they will be executed in a row.
configure(C) - Method in class com.kuka.comm.ConnectionConfigurator
Configures the connection with the parameters that has been set in the factory.
configure(C) - Method in class com.kuka.comm.net.NetConnectionConfigurator
 
configure(TcpConnection) - Method in class com.kuka.comm.net.TcpConnectionConfigurator
Method to setup a TcpConnection with predefined settings.
connect() - Method in interface com.kuka.comm.Connection
Connects (or initiates) the connection asynchronously.
connect() - Method in class com.kuka.comm.net.TcpConnection
 
connect() - Method in class com.kuka.comm.net.UdpConnection
For a UDP connection the UdpConnection.connect()-method ensures a functional DatagramSocket and starts the connection in an new Thread.
Connection - Interface in com.kuka.comm
A Connection represents a communication channel that can be used to send and receive messages (data objects).
ConnectionConfigurator<C extends Connection> - Class in com.kuka.comm
Class to automatically configure Connections, especially used for configuring incoming connections at a server.
ConnectionConfigurator() - Constructor for class com.kuka.comm.ConnectionConfigurator
 
ConnectionException - Exception in com.kuka.comm
A base exception which can occur in context of KUKA Navigation Communication Framework.
ConnectionException(String) - Constructor for exception com.kuka.comm.ConnectionException
Constructor with a string stating the reason for this exception.
ConnectionException(String, Throwable) - Constructor for exception com.kuka.comm.ConnectionException
Constructor with a String stating the reason for this exception and a Throwable stating the cause.
ConnectionListener - Interface in com.kuka.comm
An interface to react connection states.
ConnectionStatistics - Interface in com.kuka.comm
Represents general connection statistics that are independent of the underlying implementation of the connection.
countConnections() - Method in class com.kuka.comm.AbstractServer
 
countConnections() - Method in interface com.kuka.comm.Server
Returns the number of connections handled by this server.
createConnection(S, T) - Method in class com.kuka.comm.net.NetConnectionHandler
Creates a new connection for an incoming connection request.
createConnection(TcpServer, Socket) - Method in class com.kuka.comm.net.TcpConnectionHandler
 
createConnection(UdpServer, DatagramPacket) - Method in class com.kuka.comm.net.UdpConnectionHandler
 

D

decode(I) - Method in class com.kuka.comm.codec.Decoder
Decodes the given input and returns the resulting object.
decodeImpl(ByteBuffer) - Method in class com.kuka.comm.codec.bytebuffer.ByteOrderDecoder
 
decodeImpl(ByteBuffer) - Method in class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
 
decodeImpl(ByteBuffer) - Method in class com.kuka.comm.codec.bytebuffer.LengthDecoder
 
decodeImpl(ByteBuffer) - Method in class com.kuka.comm.codec.bytebuffer.TokenDecoder
 
decodeImpl(I) - Method in class com.kuka.comm.codec.Decoder
Realization of the decoding method to be implemented in subclasses.
decodeImpl(M) - Method in class com.kuka.comm.codec.SwitchDecoder
 
Decoder<I,O> - Class in com.kuka.comm.codec
Abstract realization of a decoder interface.
Decoder() - Constructor for class com.kuka.comm.codec.Decoder
 
DecoderException - Exception in com.kuka.comm.codec
An exception which can occur during decoding.
DecoderException(String) - Constructor for exception com.kuka.comm.codec.DecoderException
Constructor with a string stating the reason for this exception.
DecoderException(String, Throwable) - Constructor for exception com.kuka.comm.codec.DecoderException
Constructor with a String stating the reason for this exception and a Throwable stating the cause.
disconnect() - Method in class com.kuka.comm.AbstractConnection
 
disconnect() - Method in interface com.kuka.comm.Connection
Disconnects (or closes) the connection asynchronously.
disconnect() - Method in class com.kuka.comm.net.TcpConnection
 
disconnect() - Method in class com.kuka.comm.net.UdpConnection
The UDP connection will be freed from a previously binded address and port and closed afterwards.
dispatchMessages(List<Object>) - Method in class com.kuka.comm.AbstractConnection
Dispatches a list of message objects to another thread to reduce message handling time.

E

enableLinger(boolean, int) - Method in class com.kuka.comm.net.TcpConnection
En-/Disable linger option for socket.
EnclosingTokenDecoder - Class in com.kuka.comm.codec.bytebuffer
This decoder delimits a payload strictly with a constant prefix and postfix.
EnclosingTokenDecoder(String, String) - Constructor for class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
Creates a new enclosing token decoder.
EnclosingTokenDecoder(byte[], byte[]) - Constructor for class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
Creates a new enclosing token decoder.
EnclosingTokenEncoder<I> - Class in com.kuka.comm.codec.bytebuffer
This encoder delimits a payload strictly with a constant prefix and postfix.
EnclosingTokenEncoder(String, String) - Constructor for class com.kuka.comm.codec.bytebuffer.EnclosingTokenEncoder
Creates a new enclosing token encoder.
EnclosingTokenEncoder(byte[], byte[]) - Constructor for class com.kuka.comm.codec.bytebuffer.EnclosingTokenEncoder
Creates a new enclosing token encoder.
encode(I, O) - Method in class com.kuka.comm.codec.Encoder
Encodes the given input into to the given output object.
encodeImpl(Object, ByteBuffer) - Method in class com.kuka.comm.codec.bytebuffer.ByteOrderEncoder
 
encodeImpl(I, ByteBuffer, Encoder.EncoderContext) - Method in class com.kuka.comm.codec.bytebuffer.EnclosingTokenEncoder
 
encodeImpl(I, ByteBuffer, Encoder.EncoderContext) - Method in class com.kuka.comm.codec.bytebuffer.LengthEncoder
 
encodeImpl(Object, ByteBuffer) - Method in class com.kuka.comm.codec.bytebuffer.TokenEncoder
 
encodeImpl(I, O) - Method in class com.kuka.comm.codec.Encoder
Override this method to implement encoding process.
encodeImpl(I, O, Encoder.EncoderContext) - Method in class com.kuka.comm.codec.Encoder
Override this method to implement encoding process.
encodeImpl(I, O) - Method in class com.kuka.comm.codec.SwitchEncoder
 
Encoder<I,O> - Class in com.kuka.comm.codec
A basic encoder.
Encoder() - Constructor for class com.kuka.comm.codec.Encoder
 
Encoder.EncoderContext - Class in com.kuka.comm.codec
This class can be used to do some more encoding after a concatenated encoder finished.
Encoder.EncoderContext() - Constructor for class com.kuka.comm.codec.Encoder.EncoderContext
 
EncoderException - Exception in com.kuka.comm.codec
An exception which can occur during encoding.
EncoderException(String) - Constructor for exception com.kuka.comm.codec.EncoderException
Constructor with a string stating the reason for this exception.
EncoderException(String, Throwable) - Constructor for exception com.kuka.comm.codec.EncoderException
Constructor with a String stating the reason for this exception and a Throwable stating the cause.
equals(Object) - Method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil.FoundToken
 

F

fireAcceptedConnection(Connection) - Method in class com.kuka.comm.AbstractServer
Private method to notify listener about accepted connections.
fireConnectionClosed() - Method in class com.kuka.comm.AbstractConnection
Callback called upon closing the connection.
fireConnectionFailed(Exception) - Method in class com.kuka.comm.AbstractConnection
Callback called upon failed connection establishment.
fireConnectionSuccessful() - Method in class com.kuka.comm.AbstractConnection
Callback called upon successful connection establishment.
fireConnectionTimedOut() - Method in class com.kuka.comm.AbstractConnection
Callback called upon failed connection establishment.
fireIncomingConnection(Connection) - Method in class com.kuka.comm.AbstractServer
Private method to notify listener about incoming connections.
fireReceiveError(Exception) - Method in class com.kuka.comm.AbstractConnection
Callback called upon receive errors.
fireRejectedConnection(Connection) - Method in class com.kuka.comm.AbstractServer
Private method to notify listener about rejected connections.
forEachConnection(AbstractServer.ConnectionConsumer) - Method in class com.kuka.comm.AbstractServer
Iterates synchronized over all connections contained in this server and applies the given consumer.

G

getAddress() - Method in class com.kuka.comm.net.TcpServer
Returns the server address.
getAddress() - Method in class com.kuka.comm.net.UdpServer
Returns the server address.
getAutoReconnectStrategy() - Method in class com.kuka.comm.AbstractConnection
 
getAutoReconnectStrategy() - Method in interface com.kuka.comm.Connection
Returns the currently set auto reconnection strategy.
getAutoReconnectStrategy() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Getter for the currently set ReconnectStrategy.
getConfigurator() - Method in class com.kuka.comm.net.NetConnectionHandler
 
getConnections() - Method in class com.kuka.comm.AbstractServer
 
getConnections() - Method in interface com.kuka.comm.Server
Returns a snapshot of current connections on this server.
getDecoder() - Method in class com.kuka.comm.net.NetConnection
 
getDecoder() - Method in class com.kuka.comm.net.NetConnectionConfigurator
 
getDecodingFailures() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the number of decoding failures.
getDecodingTime() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the average time (in milliseconds) that the decoding of a message takes.
getEncoder() - Method in class com.kuka.comm.net.NetConnection
Getter for Encoder.
getEncoder() - Method in class com.kuka.comm.net.NetConnectionConfigurator
 
getEncodingFailures() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the number of encoding failures.
getEncodingTime() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the average time (in milliseconds) that the encoding of a message takes.
getFrequencyIn() - Method in interface com.kuka.comm.net.NetConnectionStatistics
The frequency at which messages are received.
getFrequencyOut() - Method in interface com.kuka.comm.net.NetConnectionStatistics
The frequency at which messages are send.
getInput() - Method in class com.kuka.comm.codec.SwitchInfo
Returns the input for the decoder associated with the given switch token.
getInputBufferSize() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Returns the input buffer size.
getLocalAddress() - Method in class com.kuka.comm.net.NetConnection
 
getLostMessages() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the number of lost messages (incoming and outgoing messages).
getLostMessagesIn() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the number of lost incoming messages.
getLostMessagesOut() - Method in interface com.kuka.comm.ConnectionStatistics
Returns the number of lost outgoing messages.
getMaxConnections() - Method in class com.kuka.comm.net.NetConnectionHandler
 
getOutputBufferSize() - Method in class com.kuka.comm.net.NetConnectionConfigurator
 
getPort() - Method in class com.kuka.comm.net.TcpServer
Returns the server port.
getPort() - Method in class com.kuka.comm.net.UdpServer
Returns the server port.
getPos() - Method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil.FoundToken
Returns the position of the found token.
getReceiveBufferSize() - Method in class com.kuka.comm.net.UdpServer
Returns the receiving buffer size.
getRemoteAddress() - Method in class com.kuka.comm.net.NetConnection
 
getStatistics() - Method in interface com.kuka.comm.Connection
Returns general connection statistics about this connection.
getStatistics() - Method in class com.kuka.comm.net.NetConnection
 
getStatistics() - Method in class com.kuka.comm.net.TcpConnection
 
getStatistics() - Method in class com.kuka.comm.net.UdpConnection
 
getSwitchToken() - Method in class com.kuka.comm.codec.SwitchInfo
Returns the switch token.
getTcpConnHandler() - Method in class com.kuka.comm.net.TcpServer
Get method for the factory method, which creates new TcpConnections upon incoming connections.
getThroughputIn() - Method in interface com.kuka.comm.net.NetConnectionStatistics
The throughput in number of bytes for the incoming data channel.
getThroughputOut() - Method in interface com.kuka.comm.net.NetConnectionStatistics
The throughput in number of bytes for the outgoing data channel.
getTokenIndex() - Method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil.FoundToken
Returns the index of the found token.
getUdpConnHandler() - Method in class com.kuka.comm.net.UdpServer
Returns the UDP connection factory.

H

handle(Connection, M) - Method in interface com.kuka.comm.MessageHandler
handle will be called whenever a massage of type M arrives at the handler.
handleConnection(S, T) - Method in class com.kuka.comm.net.NetConnectionHandler
Creates a new connection for an incoming connection request.
hasConnections() - Method in class com.kuka.comm.AbstractServer
 
hasConnections() - Method in interface com.kuka.comm.Server
Returns true if this server has active connections.
hasDecoder() - Method in interface com.kuka.comm.Connection
Returns true if a valid decoder has been set for this connection.
hasDecoder() - Method in class com.kuka.comm.net.NetConnection
 
hasEncoder() - Method in interface com.kuka.comm.Connection
Returns true if a valid encoder has been set for this connection.
hasEncoder() - Method in class com.kuka.comm.net.NetConnection
 
hashCode() - Method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil.FoundToken
 

I

indexOf(byte[], byte[]) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find token as a subsequence within buffer and returns the token's position, or SegmenterUtil.NOT_FOUND if the token was not found.
indexOf(byte[], byte[], int, int) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find token as a subsequence within buffer and returns the token's position, or SegmenterUtil.NOT_FOUND if the token was not found.
indexOf(byte[], ByteBuffer) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find token as a subsequence within buffer and returns the token's position, or SegmenterUtil.NOT_FOUND if the token was not found.
indexOf(byte[], ByteBuffer, int, int) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find token as a subsequence within buffer and returns the token's position, or SegmenterUtil.NOT_FOUND if the token was not found.
indexOf(List<byte[]>, ByteBuffer) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find one of the given tokens as a subsequence within buffer and returns the token's position and the token's index.
indexOf(List<byte[]>, ByteBuffer, int, int) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find one of the given tokens as a subsequence within buffer and returns the token's position and the token's index.
indexOfTruncated(byte[], ByteBuffer) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find token as a subsequence within buffer and returns the token's position, or SegmenterUtil.NOT_FOUND if the token was not found.
indexOfTruncated(byte[], ByteBuffer, int, int) - Static method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Tries to find token as a subsequence within buffer and returns the token's position, or SegmenterUtil.NOT_FOUND if the token was not found.
isAbleToReceive() - Method in class com.kuka.comm.AbstractConnection
 
isAbleToReceive() - Method in interface com.kuka.comm.Connection
Returns true if the current state of the connection allows to receive messages.
isAbleToReceive() - Method in class com.kuka.comm.net.TcpConnection
 
isAbleToSend() - Method in class com.kuka.comm.AbstractConnection
 
isAbleToSend() - Method in interface com.kuka.comm.Connection
Returns true if the current state of the connection allows to send messages.
isAbleToSend() - Method in class com.kuka.comm.net.TcpConnection
 
isAutoReconnectStrategySet() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Check if a ReconnectStrategy has been set.
isConnected() - Method in interface com.kuka.comm.Connection
Returns true of the connection is working as expected.
isConnected() - Method in class com.kuka.comm.net.TcpConnection
 
isConnected() - Method in class com.kuka.comm.net.UdpConnection
 
isConnectionless() - Method in interface com.kuka.comm.Connection
Checks if the underlying connection type implements a connectionless communication method.
isConnectionless() - Method in class com.kuka.comm.net.TcpConnection
 
isConnectionless() - Method in class com.kuka.comm.net.UdpConnection
 
isInputBufferSizeSet() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Returns true of the input buffer size will be set.
isOutputBufferSizeSet() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Returns true of the output buffer size will be set.
isPostfixIncluded() - Method in class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
Returns true if the postfix should be included.
isPrefixIncluded() - Method in class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
Returns true if the prefix should be included.
isReconnectAllowed() - Method in interface com.kuka.comm.ReconnectStrategy
Returns true if a forthcoming auto reconnection attempt is allowed.
isRunning() - Method in class com.kuka.comm.AbstractThreadedServer
Checks whenever the server thread is currently active.
isRunning() - Method in interface com.kuka.comm.Server
Checks whenever the server thread is currently active.
isStopRequested() - Method in class com.kuka.comm.AbstractThreadedServer
Server specific method to check if server is going to stop.
isTcpNoDelay() - Method in class com.kuka.comm.net.TcpConnection
Method to retrieve the current status for the TCP sending parameter.
isThreadAlive() - Method in class com.kuka.comm.AbstractThreadedServer
Return true of the server thread is running.
isTokenIncluded() - Method in class com.kuka.comm.codec.bytebuffer.TokenDecoder
Returns true if the token is included in the resulting byte buffer.

K

keepConnectionAlive(boolean) - Method in class com.kuka.comm.net.TcpConnection
Option to en-/disable the sending to a keep alive packet after two hours without incoming data.

L

LengthDecoder - Class in com.kuka.comm.codec.bytebuffer
Decoder that reads length information for a variable or fixed length payload and extracts the payload.
LengthDecoder(LengthFieldType) - Constructor for class com.kuka.comm.codec.bytebuffer.LengthDecoder
Creates a new decoder for variable length payload.
LengthDecoder(int) - Constructor for class com.kuka.comm.codec.bytebuffer.LengthDecoder
Creates a new decoder for fixed length payload.
LengthEncoder<I> - Class in com.kuka.comm.codec.bytebuffer
Encoder that writes the length of a given variable length payload that is encoded by the next concatenated encoder.
LengthEncoder(LengthFieldType) - Constructor for class com.kuka.comm.codec.bytebuffer.LengthEncoder
Creates a new encoder that writes the length of a given variable length payload.
LengthFieldType - Enum in com.kuka.comm.codec.bytebuffer
The type of the length field of an byte-encoded message.

M

maxReconnectFailures(int) - Static method in class com.kuka.comm.ReconnectStrategies
Creates a ReconnectStrategy that will only allow a certain total number of reconnection attempts per connection.
maxReconnectFailuresWithReset(int) - Static method in class com.kuka.comm.ReconnectStrategies
This class implements an ReconnectStrategy that will restrict the number of failed reconnection attempts in a row by a given value (per connection).
MessageHandler<M> - Interface in com.kuka.comm
Interface to react on incoming messages.

N

NetConnection - Class in com.kuka.comm.net
Abstract subclass which names the generic type for an AbstractConnection regarding to network specific use of ByteBuffer.
NetConnection() - Constructor for class com.kuka.comm.net.NetConnection
 
NetConnectionConfigurator<C extends NetConnection> - Class in com.kuka.comm.net
An abstract factory base class to be used in the different network server classes (e.g.
NetConnectionConfigurator(Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.NetConnectionConfigurator
Creates a new configurator with the corresponding encoder and decoder.
NetConnectionHandler<S extends Server,C extends NetConnection,T> - Class in com.kuka.comm.net
Base class for handling incoming connection requests at a server.
NetConnectionHandler(NetConnectionConfigurator<C>) - Constructor for class com.kuka.comm.net.NetConnectionHandler
Creates a new connection handler that uses the given configurator to configure the connection and accepts an unlimited number of connections.
NetConnectionHandler(NetConnectionConfigurator<C>, int) - Constructor for class com.kuka.comm.net.NetConnectionHandler
Creates a new connection handler that uses the given configurator to configure incoming connections and limits the maximum number of active connections to maxConnections.
NetConnectionStatistics - Interface in com.kuka.comm.net
Statistics common to all network connections, e.g., UdpConnection and TcpConnection.
neverReconnect() - Static method in class com.kuka.comm.ReconnectStrategies
Creates a ReconnectStrategy that will reject any reconnection attempts.
NO_TOKEN - Static variable in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Special value for the token index, indicating that no token has been found.
NOT_FOUND - Static variable in class com.kuka.comm.codec.bytebuffer.SegmenterUtil
Special value for the token position, indicating that no token has been found.

O

onAcceptedConnection(Server, Connection) - Method in class com.kuka.comm.BaseServerListener
 
onAcceptedConnection(Server, Connection) - Method in interface com.kuka.comm.ServerListener
This event function will be called, whenever a Connection has been accepted by the Server.
onConnectionClosed(Connection) - Method in class com.kuka.comm.BaseConnectionListener
 
onConnectionClosed(Connection) - Method in interface com.kuka.comm.ConnectionListener
This method is called if the connection has been closed.
onConnectionFailed(Connection, Exception) - Method in class com.kuka.comm.BaseConnectionListener
 
onConnectionFailed(Connection, Exception) - Method in interface com.kuka.comm.ConnectionListener
This method is called if an initial connection failed due to the socket being not available or through timeout.
onConnectionSuccessful(Connection) - Method in class com.kuka.comm.BaseConnectionListener
 
onConnectionSuccessful(Connection) - Method in interface com.kuka.comm.ConnectionListener
This method is called if a connection to a robot has been established successfully.
onConnectionTimeout(Connection) - Method in class com.kuka.comm.BaseConnectionListener
 
onConnectionTimeout(Connection) - Method in interface com.kuka.comm.ConnectionListener
This method is called when the connection hasn't received data for the connection specific timeout.
onIncomingConnection(Server, Connection) - Method in class com.kuka.comm.BaseServerListener
 
onIncomingConnection(Server, Connection) - Method in interface com.kuka.comm.ServerListener
This event function will be called, whenever an incoming Connection has been created by the Server.
onReceiveError(Connection, Exception) - Method in class com.kuka.comm.BaseConnectionListener
 
onReceiveError(Connection, Exception) - Method in interface com.kuka.comm.ConnectionListener
Called when an error occurred during the receiving of data.
onReconnectResult(boolean) - Method in interface com.kuka.comm.ReconnectStrategy
Informs the auto reconnection strategy about the success or failure of the most recent auto reconnection attempt.
onRejectedConnection(Server, Connection) - Method in class com.kuka.comm.BaseServerListener
 
onRejectedConnection(Server, Connection) - Method in interface com.kuka.comm.ServerListener
This event function will be called, whenever a Connection has been rejected by the Server.

R

ReconnectStrategies - Class in com.kuka.comm
This class provides some static factory methods for creating different reconnect strategies.
ReconnectStrategy - Interface in com.kuka.comm
A reconnect strategy may allow or disallow an automatic reconnection attempt, if the Connection detects that it has been disconnected due to some unforeseen event or error condition.
removeConnection(Connection) - Method in class com.kuka.comm.AbstractServer
Private method to remove connections from connection list.
removeConnectionListener(ConnectionListener) - Method in class com.kuka.comm.AbstractConnection
 
removeConnectionListener(ConnectionListener) - Method in interface com.kuka.comm.Connection
Removes a given listener from list of ConnectionListener.
removeMessageHandler(Class<M>, MessageHandler<M>) - Method in class com.kuka.comm.AbstractConnection
 
removeMessageHandler(Class<M>, MessageHandler<M>) - Method in interface com.kuka.comm.Connection
Generic method to remove a message handler from internal list of message handlers.
removeServerListener(ServerListener) - Method in class com.kuka.comm.AbstractServer
 
removeServerListener(ServerListener) - Method in interface com.kuka.comm.Server
Method to remove a ServerListener from internal list of listeners.

S

SegmenterUtil - Class in com.kuka.comm.codec.bytebuffer
Helper class for searching a byte sequence as a subsequence within another byte sequence.
SegmenterUtil.FoundToken - Class in com.kuka.comm.codec.bytebuffer
Represents the found token, i.e. its position and the index of the token that has been found.
SegmenterUtil.FoundToken(int, int) - Constructor for class com.kuka.comm.codec.bytebuffer.SegmenterUtil.FoundToken
Constructs a new instance with the given position and token index.
send(Object) - Method in interface com.kuka.comm.Connection
This method will send the message.
send(Object) - Method in class com.kuka.comm.net.TcpConnection
 
send(Object) - Method in class com.kuka.comm.net.UdpConnection
 
Server - Interface in com.kuka.comm
A Server represents a thread that waits for incoming connection requests and reacts to them by creating new Connection objects, that represent the local endpoint of an incoming connection.
ServerListener - Interface in com.kuka.comm
An interface to be noticed when a new incoming connection connects to the server.
ServerStartupException - Exception in com.kuka.comm
Unchecked exception that is thrown if the server startup failed.
ServerStartupException(String) - Constructor for exception com.kuka.comm.ServerStartupException
Creates a new ServerStartupException.
ServerStartupException(String, Throwable) - Constructor for exception com.kuka.comm.ServerStartupException
Creates a new ServerStartupException with nested exceptions.
serverThread() - Method in class com.kuka.comm.AbstractThreadedServer
Implement the server thread!
serverThread() - Method in class com.kuka.comm.net.TcpServer
 
serverThread() - Method in class com.kuka.comm.net.UdpServer
 
setAutoReconnectStrategy(ReconnectStrategy) - Method in class com.kuka.comm.AbstractConnection
 
setAutoReconnectStrategy(ReconnectStrategy) - Method in interface com.kuka.comm.Connection
Sets the auto reconnection strategy.
setAutoReconnectStrategy(ReconnectStrategy) - Method in class com.kuka.comm.net.NetConnectionConfigurator
Setter to append an ReconnectStrategy to this Connection.
setDecoder(Decoder<ByteBuffer, Object>) - Method in class com.kuka.comm.net.NetConnection
Sets the decoder that should be used by this connection to decoder incoming messages.
setEncoder(Encoder<Object, ByteBuffer>) - Method in class com.kuka.comm.net.NetConnection
Sets the encoder that should be used by this connection to encode outgoing messages.
setInputBufferSize(int) - Method in class com.kuka.comm.net.NetConnection
Builder option to adjust the buffer size of output buffer.
setInputBufferSize(int) - Method in class com.kuka.comm.net.NetConnectionConfigurator
 
setOutputBufferSize(int) - Method in class com.kuka.comm.net.NetConnection
Builder option to adjust the buffer size of output buffer.
setOutputBufferSize(int) - Method in class com.kuka.comm.net.NetConnectionConfigurator
Sets the output buffer size.
setPostfixIncluded(boolean) - Method in class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
If set to true the postfix is included in the decoded message.
setPrefixIncluded(boolean) - Method in class com.kuka.comm.codec.bytebuffer.EnclosingTokenDecoder
If set to true the prefix is included in the decoded message.
setReceiveBufferSize(int) - Method in class com.kuka.comm.net.UdpServer
Sets the receiving buffer size to the given value.
setStopRequested(boolean) - Method in class com.kuka.comm.AbstractThreadedServer
Server method to stop during next cycle.
setTcpNoDelay(boolean) - Method in class com.kuka.comm.net.TcpConnection
TCP specific setting.
setTcpTimeout(int) - Method in class com.kuka.comm.net.TcpConnectionConfigurator
Sets a timeout for new TcpConnections during construction.
setTimeout(int) - Method in class com.kuka.comm.net.TcpConnection
Sets the timeout in milliseconds, which determines the time the Socket got block during reading.
setTimeout(int) - Method in class com.kuka.comm.net.UdpConnection
Sets the timeout, which determines the time the socket got block during DatagramSocket.receive(DatagramPacket)-call.
setTokenIncluded(boolean) - Method in class com.kuka.comm.codec.bytebuffer.TokenDecoder
If set to true the token is included in the resulting byte buffer.
slice(ByteBuffer, int, int) - Static method in class com.kuka.comm.codec.bytebuffer.ByteBufferUtils
Provides a view as a subsequence of a ByteBuffer.
slice(ByteBuffer, int) - Static method in class com.kuka.comm.codec.bytebuffer.ByteBufferUtils
Provides a view as a subsequence of a ByteBuffer.
slice(ByteBuffer) - Static method in class com.kuka.comm.codec.bytebuffer.ByteBufferUtils
Provides a view as a subsequence of a ByteBuffer.
sliceLen(ByteBuffer, int, int) - Static method in class com.kuka.comm.codec.bytebuffer.ByteBufferUtils
Provides a view as a subsequence of a ByteBuffer.
start() - Method in class com.kuka.comm.AbstractThreadedServer
 
start() - Method in class com.kuka.comm.net.TcpServer
 
start() - Method in class com.kuka.comm.net.UdpServer
 
start() - Method in interface com.kuka.comm.Server
Starts the server as a separate thread.
stop() - Method in class com.kuka.comm.AbstractThreadedServer
 
stop() - Method in class com.kuka.comm.net.TcpServer
Method to stop the TcpServer by closing the ServerSocket.
stop() - Method in class com.kuka.comm.net.UdpServer
 
stop() - Method in interface com.kuka.comm.Server
Stops the server closes all created connections listed in its internal list of connections.
SwitchDecoder<M,S,I,O> - Class in com.kuka.comm.codec
A SwitchDecoder selects a Decoder decoder to decode the input based on the content of the input.
SwitchDecoder(Decoder<M, SwitchInfo<S, I>>) - Constructor for class com.kuka.comm.codec.SwitchDecoder
Creates a new DecoderSwitch that uses the given Decoder to decode the SwitchInfo of a given input.
SwitchEncoder<I,O> - Class in com.kuka.comm.codec
Class to determine the encoder according to the type of message which should be send.
SwitchEncoder() - Constructor for class com.kuka.comm.codec.SwitchEncoder
 
SwitchInfo<S,I> - Class in com.kuka.comm.codec
A SwitchInfo is used by a SwitchDecoder to select the actual Decoder based on the switch token (of type S).
SwitchInfo(S, I) - Constructor for class com.kuka.comm.codec.SwitchInfo
Creates a new SwitchInfo with the given switch token and input for next decoder that will be selected by the SwitchDecoder based on the given switch token.

T

TcpConnection - Class in com.kuka.comm.net
A connection instantiation for TCP over JavaIO.
TcpConnection(InetSocketAddress) - Constructor for class com.kuka.comm.net.TcpConnection
Constructor using InetSocketAddress as connection target.
TcpConnection(InetSocketAddress, InetSocketAddress) - Constructor for class com.kuka.comm.net.TcpConnection
Constructor using first InetSocketAddress as connection target and a second one as its own address/port values..
TcpConnection(Socket) - Constructor for class com.kuka.comm.net.TcpConnection
Constructor for a connection using an already existing socket.
TcpConnectionConfigurator - Class in com.kuka.comm.net
A TcpConnConfigurator is used by a TcpServer to configure a TcpConnection upon an incoming connection request.
TcpConnectionConfigurator(Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.TcpConnectionConfigurator
Creates a new configurator that uses the given encoder and decoder on configured connections.
TcpConnectionHandler - Class in com.kuka.comm.net
This class is responsible for handling incoming connection requests at a TCP server.
TcpConnectionHandler(TcpConnectionConfigurator) - Constructor for class com.kuka.comm.net.TcpConnectionHandler
Creates a new TCP connection handler that accepts an unlimited number of connections and uses the given configurator to configure the connection.
TcpConnectionHandler(TcpConnectionConfigurator, int) - Constructor for class com.kuka.comm.net.TcpConnectionHandler
Creates a new TCP connection handler that uses the given configurator to configure incoming connections and limits the maximum number of active connections to maxConnections.
TcpConnectionStatistics - Interface in com.kuka.comm.net
TcpConnection statistics.
TcpServer - Class in com.kuka.comm.net
The TcpServer class creates a new TCP server for use with the KUKA Navigation Communication Framework.
TcpServer(int, Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.TcpServer
Constructor to setup an new TCP server with a given port to listen on.
TcpServer(InetSocketAddress, Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.TcpServer
Constructor to setup an new TCP server with a given InetSocketAddress to listen on.
TcpServer(int, TcpConnectionHandler) - Constructor for class com.kuka.comm.net.TcpServer
Constructor to setup an new TCP server with a given port to listen on.
TcpServer(InetSocketAddress, TcpConnectionHandler) - Constructor for class com.kuka.comm.net.TcpServer
Constructor to setup an new TCP server with a given InetSocketAddress to listen on.
TokenDecoder - Class in com.kuka.comm.codec.bytebuffer
A TokenDecoder tries to find a specified token in a byte buffer.
TokenDecoder(String) - Constructor for class com.kuka.comm.codec.bytebuffer.TokenDecoder
Creates a decoder that will seek to the first occurrence of the given byte subsequence (token).
TokenDecoder(String, Charset) - Constructor for class com.kuka.comm.codec.bytebuffer.TokenDecoder
Creates a decoder that will seek to the first occurrence of the given byte subsequence (token).
TokenDecoder(byte[]) - Constructor for class com.kuka.comm.codec.bytebuffer.TokenDecoder
Creates a decoder that will seek to the first occurrence of the given byte subsequence (token).
TokenEncoder - Class in com.kuka.comm.codec.bytebuffer
Encoder that writes a constant byte sequence.
TokenEncoder(String) - Constructor for class com.kuka.comm.codec.bytebuffer.TokenEncoder
Creates an encoder that writes the given byte subsequence (token).
TokenEncoder(String, Charset) - Constructor for class com.kuka.comm.codec.bytebuffer.TokenEncoder
Creates an encoder that writes the given byte subsequence (token).
TokenEncoder(byte[]) - Constructor for class com.kuka.comm.codec.bytebuffer.TokenEncoder
Creates an encoder that writes the given byte subsequence (token).
toString() - Method in class com.kuka.comm.codec.bytebuffer.SegmenterUtil.FoundToken
 
toString() - Method in class com.kuka.comm.net.TcpConnection
 
toString() - Method in class com.kuka.comm.net.UdpConnection
 

U

UdpConnection - Class in com.kuka.comm.net
Class to establish and use a UDP connection message exchange with other endpoints.
UdpConnection(InetAddress, int) - Constructor for class com.kuka.comm.net.UdpConnection
Constructor which uses a specific target addresses and target port, which are used for sending and receiving datagrams.
UdpConnection(InetSocketAddress) - Constructor for class com.kuka.comm.net.UdpConnection
Constructor which uses a specific target addresses and target port as InetSocketAddress, which are used for sending and receiving datagrams.
UdpConnection(InetSocketAddress, InetSocketAddress) - Constructor for class com.kuka.comm.net.UdpConnection
Constructor which uses a specific target addresses and target port as InetSocketAddress, which are used for sending and receiving datagrams.
UdpConnection(UdpServer, InetSocketAddress) - Constructor for class com.kuka.comm.net.UdpConnection
Constructor which uses a specific target addresses and target port, which are used for sending and receiving datagrams.
UdpConnectionConfigurator - Class in com.kuka.comm.net
A UdpConnConfigurator is used by a UdpServer to configure new UdpConnections upon an incoming connection request.
UdpConnectionConfigurator(Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.UdpConnectionConfigurator
Creates a new configurator that uses the given encoder and decoder on configured connections.
UdpConnectionHandler - Class in com.kuka.comm.net
This class is responsible for handling incoming connection requests at a UDP server.
UdpConnectionHandler(NetConnectionConfigurator<UdpConnection>) - Constructor for class com.kuka.comm.net.UdpConnectionHandler
Creates a new UDP connection handler that accepts an unlimited number of connections and uses the given configurator to configure the connection.
UdpConnectionHandler(NetConnectionConfigurator<UdpConnection>, int) - Constructor for class com.kuka.comm.net.UdpConnectionHandler
Creates a new UDP connection handler that uses the given configurator to configure incoming connections and limits the maximum number of active connections to maxConnections.
UdpConnectionStatistics - Interface in com.kuka.comm.net
UdpConnection statistics.
UdpServer - Class in com.kuka.comm.net
The UdpServer class creates a new UDP server for use with the KUKA Navigation Communication Framework.
UdpServer(int, Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.UdpServer
Constructor for UdpServer with defined port.
UdpServer(InetSocketAddress, Encoder<Object, ByteBuffer>, Decoder<ByteBuffer, Object>) - Constructor for class com.kuka.comm.net.UdpServer
Constructor for UdpServer with defined port and IPAddress.
UdpServer(int, UdpConnectionHandler) - Constructor for class com.kuka.comm.net.UdpServer
Constructor for UdpServer with defined port.
UdpServer(InetSocketAddress, UdpConnectionHandler) - Constructor for class com.kuka.comm.net.UdpServer
Constructor for UdpServer with defined port and IPAddress.
unsetAutoReconnectStrategy() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Clear all references to a ReconnectStrategy.
unsetInputBufferSize() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Unsets the input buffer size.
unsetOutputBufferSize() - Method in class com.kuka.comm.net.NetConnectionConfigurator
Unsets the output buffer size.

V

valueOf(String) - Static method in enum com.kuka.comm.codec.bytebuffer.LengthFieldType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.kuka.comm.codec.bytebuffer.LengthFieldType
Returns an array containing the constants of this enum type, in the order they are declared.

_

_inputBuffer - Variable in class com.kuka.comm.net.NetConnection
A buffer that can be used to store bytes from an input stream of the connection.
_localAddress - Variable in class com.kuka.comm.net.NetConnection
The local connection address.
_outputBuffer - Variable in class com.kuka.comm.net.NetConnection
A buffer that can be used to store bytes for an output stream of the connection.
_remoteAddress - Variable in class com.kuka.comm.net.NetConnection
The remote connection address.

A B C D E F G H I K L M N O R S T U V _

Copyright © 2019. All rights reserved.