public final class InternalChannelMessage
extends java.lang.Object
It holds a message code, data associated with it and the mix cipher chain necessary to decrypt the data if necessary.
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_CHANNEL_CLOSED |
static int |
CODE_CHANNEL_EXCEPTION |
static int |
CODE_PACKET_RECEIVED |
| Constructor and Description |
|---|
InternalChannelMessage(int a_messageCode,
byte[] a_messageData,
MixCipherChain cipher) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMessageCode() |
byte[] |
getMessageData() |
MixCipherChain |
getMixCipherChain() |
public static final int CODE_PACKET_RECEIVED
public static final int CODE_CHANNEL_CLOSED
public static final int CODE_CHANNEL_EXCEPTION
public InternalChannelMessage(int a_messageCode,
byte[] a_messageData,
MixCipherChain cipher)
public int getMessageCode()
public byte[] getMessageData()
public MixCipherChain getMixCipherChain()
Copyright © 2023. All rights reserved.