diff options
author | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-06-07 08:46:51 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-08-01 12:34:27 +0200 |
commit | 162506c71c90bb0b24005f81ac0673820cf57421 (patch) | |
tree | ced018d2917b57a5ed0dd68d94c0c19c94a9c5e5 /hv-collector-domain/src/main | |
parent | 85439499beabf26902ebd670e6855bdaa18f470b (diff) |
Add SSL/TLS to client simulator
Change-Id: Iedebd222be08931b95e52a84c8c4d9c0df9e1da1
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-domain/src/main')
-rw-r--r-- | hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/WireFrame.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/WireFrame.kt b/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/WireFrame.kt index 906441b9..5bd63d8b 100644 --- a/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/WireFrame.kt +++ b/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/WireFrame.kt @@ -86,7 +86,9 @@ data class WireFrame(val payload: ByteBuf, return WireFrame(payload, mark, majorVersion, minorVersion, payloadSize) } - private const val HEADER_SIZE = 3 + java.lang.Integer.BYTES + private const val HEADER_SIZE = + 3 * java.lang.Byte.BYTES + + 1 * java.lang.Integer.BYTES private const val FF_BYTE: Short = 0xFF private const val SUPPORTED_MAJOR_VERSION: Short = 1 } |