org.opcfoundation.ua.transport.tcp.nio
Class ChunksToMessage
java.lang.Object
org.opcfoundation.ua.transport.tcp.nio.ChunksToMessage
- All Implemented Interfaces:
- Callable<IEncodeable>
public class ChunksToMessage
- extends Object
- implements Callable<IEncodeable>
This Callable class unserializes chunk plaintexts into a message.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunksToMessage
public ChunksToMessage(TcpConnectionParameters ctx,
EncoderContext encoderCtx,
Class<? extends IEncodeable> expectedType,
ByteBuffer... plaintexts)
Constructor for ChunksToMessage.
- Parameters:
ctx - a TcpConnectionParameters object.expectedType - type or null (if message expected)plaintexts - a ByteBuffer object.encoderCtx - a EncoderContext object.
call
public IEncodeable call()
throws Exception
-
- Specified by:
call in interface Callable<IEncodeable>
- Throws:
Exception
Copyright © 2018. All rights reserved.