public class Header extends Object
Constructor and Description |
---|
Header() |
Modifier and Type | Method and Description |
---|---|
void |
debugHeader(String function) |
void |
extractFromByteArray(ByteBuffer buf) |
short |
getOperationId() |
int |
getSignature() |
char |
getSwap() |
int |
getTotalLength() |
int |
getVersion() |
void |
insertIntoByteBuffer(ByteBuffer buf) |
void |
setOperationId(short value) |
void |
setSwap(char swap) |
void |
setTotalLength(int total_length) |
void |
setVersion(int version) |
static int |
sizeOf() |
public static int sizeOf()
public short getOperationId()
public int getSignature()
public int getTotalLength()
public char getSwap()
public int getVersion()
public void setOperationId(short value)
public void setSwap(char swap)
public void setTotalLength(int total_length)
public void setVersion(int version)
public void debugHeader(String function)
public void insertIntoByteBuffer(ByteBuffer buf)
public void extractFromByteArray(ByteBuffer buf)
Copyright © 2020. All rights reserved.