Documentation

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

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
int

getId()

Generated from protobuf field <code>string id = 1;</code>

public getId() : string
Return values
string

getMsg()

Generated from protobuf field <code>string msg = 3;</code>

public getMsg() : string
Return values
string

setEvent()

Generated from protobuf field <code>.plugnmeet.NatsMsgServerToClientEvents event = 2;</code>

public setEvent(int $var) : $this
Parameters
$var : int
Return values
$this

setId()

Generated from protobuf field <code>string id = 1;</code>

public setId(string $var) : $this
Parameters
$var : string
Return values
$this

setMsg()

Generated from protobuf field <code>string msg = 3;</code>

public setMsg(string $var) : $this
Parameters
$var : string
Return values
$this

        
On this page

Search results