|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Decoder | |
|---|---|
| com.kuka.comm.codec | Contains base classes for encoding and decoding messages. |
| com.kuka.comm.codec.bytebuffer | This package contains Encoders and Decoders dealing with
ByteBuffers. |
| com.kuka.comm.net | Contains classes for network based connections. |
| Uses of Decoder in com.kuka.comm.codec |
|---|
| Subclasses of Decoder in com.kuka.comm.codec | |
|---|---|
class |
SwitchDecoder<M,S,I,O>
A SwitchDecoder selects a Decoder decoder to decode the input based on the content of the input. |
| Methods in com.kuka.comm.codec that return Decoder | ||
|---|---|---|
|
Decoder.concat(Decoder<O,T> next)
This method concatenates two decoders, i.e. they will be executed in a row. |
|
| Methods in com.kuka.comm.codec with parameters of type Decoder | ||
|---|---|---|
SwitchDecoder<M,S,I,O> |
SwitchDecoder.addDecoder(S switchToken,
Decoder<I,O> decoder)
Adds a Decoder to this DecoderSwitch and associates it with the given token. |
|
|
Decoder.concat(Decoder<O,T> next)
This method concatenates two decoders, i.e. they will be executed in a row. |
|
| Constructors in com.kuka.comm.codec with parameters of type Decoder | |
|---|---|
SwitchDecoder(Decoder<M,SwitchInfo<S,I>> switchInfoDecoder)
Creates a new DecoderSwitch that uses the given Decoder to decode the SwitchInfo of
a given input. |
|
| Uses of Decoder in com.kuka.comm.codec.bytebuffer |
|---|
| Subclasses of Decoder in com.kuka.comm.codec.bytebuffer | |
|---|---|
class |
ByteOrderDecoder
A Decoder to modify the byte order of a ByteBuffer. |
class |
EnclosingTokenDecoder
This decoder delimits a payload strictly with a constant prefix and postfix. |
class |
LengthDecoder
Decoder that reads length information for a variable or fixed length payload and extracts the payload. |
class |
TokenDecoder
A TokenDecoder tries to find a specified token in a byte buffer. |
| Uses of Decoder in com.kuka.comm.net |
|---|
| Methods in com.kuka.comm.net that return Decoder | |
|---|---|
Decoder<ByteBuffer,Object> |
NetConnectionConfigurator.getDecoder()
|
Decoder<ByteBuffer,Object> |
NetConnection.getDecoder()
|
| Methods in com.kuka.comm.net with parameters of type Decoder | |
|---|---|
NetConnection |
NetConnection.setDecoder(Decoder<ByteBuffer,Object> decoder)
Sets the decoder that should be used by this connection to decoder incoming messages. |
| Constructors in com.kuka.comm.net with parameters of type Decoder | |
|---|---|
NetConnectionConfigurator(Encoder<Object,ByteBuffer> encoder,
Decoder<ByteBuffer,Object> decoder)
Creates a new configurator with the corresponding encoder and decoder. |
|
TcpConnectionConfigurator(Encoder<Object,ByteBuffer> encoder,
Decoder<ByteBuffer,Object> decoder)
Creates a new configurator that uses the given encoder and decoder on configured connections. |
|
TcpServer(InetSocketAddress serverAddress,
Encoder<Object,ByteBuffer> enc,
Decoder<ByteBuffer,Object> dec)
Constructor to setup an new TCP server with a given InetSocketAddress to listen on. |
|
TcpServer(int port,
Encoder<Object,ByteBuffer> enc,
Decoder<ByteBuffer,Object> dec)
Constructor to setup an new TCP server with a given port to listen on. |
|
UdpConnectionConfigurator(Encoder<Object,ByteBuffer> encoder,
Decoder<ByteBuffer,Object> decoder)
Creates a new configurator that uses the given encoder and decoder on configured connections. |
|
UdpServer(InetSocketAddress serverAddress,
Encoder<Object,ByteBuffer> enc,
Decoder<ByteBuffer,Object> dec)
Constructor for UdpServer with defined port and IPAddress. |
|
UdpServer(int port,
Encoder<Object,ByteBuffer> enc,
Decoder<ByteBuffer,Object> dec)
Constructor for UdpServer with defined port. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||