PubnubCallback
extends SubscribeCallback
in package
Table of Contents
Properties
- $_subscription : Subscription
Methods
- __construct() : mixed
- PubnubCallback constructor.
- message() : bool
- presence() : mixed
- signal() : mixed
- status() : void
Properties
$_subscription
protected
Subscription
$_subscription
Methods
__construct()
PubnubCallback constructor.
public
__construct(Subscription $subscription) : mixed
Parameters
- $subscription : Subscription
message()
public
message(PubNub $pubnub, PNMessageResult $message) : bool
Parameters
- $pubnub : PubNub
- $message : PNMessageResult
Tags
Return values
boolpresence()
public
presence(mixed $pubnub, mixed $presence) : mixed
Parameters
- $pubnub : mixed
- $presence : mixed
signal()
public
signal(mixed $pubnub, mixed $signal) : mixed
Parameters
- $pubnub : mixed
- $signal : mixed
status()
public
status(mixed $pubnub, mixed $status) : void
Parameters
- $pubnub : mixed
- $status : mixed