NatsMsgServerToClient
extends Message
in package
Generated from protobuf message <code>plugnmeet.NatsMsgServerToClient</code>
Table of Contents
Properties
- $event : mixed
- Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents 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.
- getEvent() : int
- Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents 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>
- setEvent() : $this
- Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents 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
$event
Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents 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}
getEvent()
Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents 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
stringsetEvent()
Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents 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