public class NXCPMessageReceiver extends Object
| Constructor and Description |
|---|
NXCPMessageReceiver(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
NXCPMessage |
receiveMessage(InputStream in,
EncryptionContext ectx)
Receive NXCP message from input stream
|
public NXCPMessageReceiver(int bufferSize)
bufferSize - Size of receive buffer in bytespublic NXCPMessage receiveMessage(InputStream in, EncryptionContext ectx) throws IOException, NXCPException
in - input streamIOExceptionNXCPExceptionCopyright © 2014. All rights reserved.