Msg

constructor(bodyType: Class<out BodyType>)

Initializes a new instance of the Msg class.

Parameters

bodyType

body type


constructor(bodyType: Class<out BodyType>, payloadReserve: Int)

Initializes a new instance of the Msg class.

Parameters

bodyType

body type

payloadReserve

The number of bytes to initialize the payload capacity to.


constructor(bodyType: Class<out BodyType>, msg: MsgBase<MsgHdr>)

Initializes a new instance of the Msg class. This a reply constructor.

Parameters

bodyType

body type

msg

The message that this instance is a reply for.


constructor(bodyType: Class<out BodyType>, msg: MsgBase<MsgHdr>, payloadReserve: Int)

Initializes a new instance of the Msg class. This a reply constructor.

Parameters

bodyType

body type

msg

The message that this instance is a reply for.

payloadReserve

The number of bytes to initialize the payload capacity to.


constructor(bodyType: Class<out BodyType>, msg: IPacketMsg)

Initializes a new instance of the Msg class. This a receive constructor.

Parameters

bodyType

body type

msg

The packet message to build this client message from.