C# Class Phoenix.Push

ファイルを表示 Open project: jfis/dn-phoenix Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return Newtonsoft.Json.Linq

Receive() public method

public Receive ( string status, Action callback ) : Push
status string
callback Action
return Push

Resend() public method

public Resend ( int timeout ) : void
timeout int
return void

Send() public method

public Send ( ) : void
return void