NatsMsgClientToServer
extends Message
in package
Generated from protobuf message <code>plugnmeet.NatsMsgClientToServer</code>
Table of Contents
Properties
- $bin_msg : mixed
- Generated from protobuf field <code>bytes bin_msg = 4;</code>
- $event : mixed
- Generated from protobuf field <code>.plugnmeet.NatsMsgClientToServerEvents event = 2;</code>
- $id : mixed
- Generated from protobuf field <code>string id = 1;</code>
- $msg : mixed
- Generated from protobuf field <code>string msg = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getBinMsg() : string
- Generated from protobuf field <code>bytes bin_msg = 4;</code>
- getEvent() : int
- Generated from protobuf field <code>.plugnmeet.NatsMsgClientToServerEvents event = 2;</code>
- getId() : string
- Generated from protobuf field <code>string id = 1;</code>
- getMsg() : string
- Generated from protobuf field <code>string msg = 3;</code>
- setBinMsg() : $this
- Generated from protobuf field <code>bytes bin_msg = 4;</code>
- setEvent() : $this
- Generated from protobuf field <code>.plugnmeet.NatsMsgClientToServerEvents event = 2;</code>
- setId() : $this
- Generated from protobuf field <code>string id = 1;</code>
- setMsg() : $this
- Generated from protobuf field <code>string msg = 3;</code>
Properties
$bin_msg
Generated from protobuf field <code>bytes bin_msg = 4;</code>
protected
mixed
$bin_msg
= ''
$event
Generated from protobuf field <code>.plugnmeet.NatsMsgClientToServerEvents event = 2;</code>
protected
mixed
$event
= 0
$id
Generated from protobuf field <code>string id = 1;</code>
protected
mixed
$id
= ''
$msg
Generated from protobuf field <code>string msg = 3;</code>
protected
mixed
$msg
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $id @type int $event @type string $msg @type string $bin_msg}
getBinMsg()
Generated from protobuf field <code>bytes bin_msg = 4;</code>
public
getBinMsg() : string
Return values
stringgetEvent()
Generated from protobuf field <code>.plugnmeet.NatsMsgClientToServerEvents event = 2;</code>
public
getEvent() : int
Return values
intgetId()
Generated from protobuf field <code>string id = 1;</code>
public
getId() : string
Return values
stringgetMsg()
Generated from protobuf field <code>string msg = 3;</code>
public
getMsg() : string
Return values
stringsetBinMsg()
Generated from protobuf field <code>bytes bin_msg = 4;</code>
public
setBinMsg(string $var) : $this
Parameters
- $var : string
Return values
$thissetEvent()
Generated from protobuf field <code>.plugnmeet.NatsMsgClientToServerEvents event = 2;</code>
public
setEvent(int $var) : $this
Parameters
- $var : int
Return values
$thissetId()
Generated from protobuf field <code>string id = 1;</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetMsg()
Generated from protobuf field <code>string msg = 3;</code>
public
setMsg(string $var) : $this
Parameters
- $var : string