C# Class Phoenix.Push

Afficher le fichier Open project: jfis/dn-phoenix Class Usage Examples

Méthodes publiques

Méthode Description
Push ( Channel channel, string event_, Newtonsoft.Json.Linq.JObject payload, int timeout ) : Newtonsoft.Json.Linq
Receive ( string status, Action callback ) : Push
Resend ( int timeout ) : void
Send ( ) : void

Private Methods

Méthode Description
CancelRefEvent ( ) : void
CancelTimeout ( ) : void
HasReceived ( string status ) : bool
MatchReceive ( Newtonsoft.Json.Linq.JObject json ) : void
StartTimeout ( ) : void
Trigger ( string status, Newtonsoft.Json.Linq.JObject response ) : void

Method Details

Push() public méthode

public Push ( Channel channel, string event_, Newtonsoft.Json.Linq.JObject payload, int timeout ) : Newtonsoft.Json.Linq
channel Channel
event_ string
payload Newtonsoft.Json.Linq.JObject
timeout int
Résultat Newtonsoft.Json.Linq

Receive() public méthode

public Receive ( string status, Action callback ) : Push
status string
callback Action
Résultat Push

Resend() public méthode

public Resend ( int timeout ) : void
timeout int
Résultat void

Send() public méthode

public Send ( ) : void
Résultat void