|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Encoder | |
|---|---|
| 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 Encoder in com.kuka.comm.codec |
|---|
| Subclasses of Encoder in com.kuka.comm.codec | |
|---|---|
class |
SwitchEncoder<I,O>
Class to determine the encoder according to the type of message which should be send. |
| Methods in com.kuka.comm.codec that return Encoder | |
|---|---|
Encoder<I,O> |
Encoder.concat(Encoder<I,O> next)
This method concatenates two encoders, i.e. they will be executed in a row. |
| Methods in com.kuka.comm.codec with parameters of type Encoder | ||
|---|---|---|
|
SwitchEncoder.addEncoder(Class<? extends T> inputType,
Encoder<T,O> encoder)
Public method to add an encoder to a list of encoder. |
|
Encoder<I,O> |
Encoder.concat(Encoder<I,O> next)
This method concatenates two encoders, i.e. they will be executed in a row. |
|
| Uses of Encoder in com.kuka.comm.codec.bytebuffer |
|---|
| Subclasses of Encoder in com.kuka.comm.codec.bytebuffer | |
|---|---|
class |
ByteOrderEncoder
An Encoder to modify the byte order of a ByteBuffer. |
class |
EnclosingTokenEncoder<I>
This encoder delimits a payload strictly with a constant prefix and postfix. |
class |
LengthEncoder<I>
Encoder that writes the length of a given variable length payload that is encoded by the next concatenated encoder. |
class |
TokenEncoder
Encoder that writes a constant byte sequence. |
| Uses of Encoder in com.kuka.comm.net |
|---|
| Methods in com.kuka.comm.net that return Encoder | |
|---|---|
Encoder<Object,ByteBuffer> |
NetConnectionConfigurator.getEncoder()
|
Encoder<Object,ByteBuffer> |
NetConnection.getEncoder()
Getter for Encoder. |
| Methods in com.kuka.comm.net with parameters of type Encoder | |
|---|---|
NetConnection |
NetConnection.setEncoder(Encoder<Object,ByteBuffer> encoder)
Sets the encoder that should be used by this connection to encode outgoing messages. |
| Constructors in com.kuka.comm.net with parameters of type Encoder | |
|---|---|
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 | |||||||||