C# 클래스 Phoenix.Channel

파일 보기 프로젝트 열기: jfis/dn-phoenix 1 사용 예제들

공개 메소드들

메소드 설명
CanPush ( ) : bool
Channel ( string topic, Newtonsoft.Json.Linq.JObject params_, Socket socket ) : Newtonsoft.Json.Linq
IsMember ( string topic ) : bool
Join ( ) : Push
Join ( int timeout ) : Push
Leave ( ) : Push
Leave ( int timeout ) : Push
Off ( string event_ ) : void
On ( string event_, System.Action callback ) : void
On ( string event_, string>.Action callback ) : void
OnClose ( System.Action callback ) : void
OnError ( System.Action callback ) : void
OnMessage ( string event_, Newtonsoft.Json.Linq.JObject payload, string ref_ ) : void
Push ( string event_, Newtonsoft.Json.Linq.JObject payload ) : Push
Push ( string event_, Newtonsoft.Json.Linq.JObject payload, int timeout ) : Push
RejoinUntilConnected ( ) : void

비공개 메소드들

메소드 설명
OnReply ( Newtonsoft.Json.Linq.JObject payload, string ref_ ) : void
Rejoin ( ) : void
Rejoin ( int timeout ) : void
ReplyEventName ( string ref_ ) : string
SendJoin ( int timeout ) : void
Trigger ( string triggerEvent, Newtonsoft.Json.Linq.JObject payload = null, string ref_ = null ) : void

메소드 상세

CanPush() 공개 메소드

public CanPush ( ) : bool
리턴 bool

Channel() 공개 메소드

public Channel ( string topic, Newtonsoft.Json.Linq.JObject params_, Socket socket ) : Newtonsoft.Json.Linq
topic string
params_ Newtonsoft.Json.Linq.JObject
socket Socket
리턴 Newtonsoft.Json.Linq

IsMember() 공개 메소드

public IsMember ( string topic ) : bool
topic string
리턴 bool

Join() 공개 메소드

public Join ( ) : Push
리턴 Push

Join() 공개 메소드

public Join ( int timeout ) : Push
timeout int
리턴 Push

Leave() 공개 메소드

public Leave ( ) : Push
리턴 Push

Leave() 공개 메소드

public Leave ( int timeout ) : Push
timeout int
리턴 Push

Off() 공개 메소드

public Off ( string event_ ) : void
event_ string
리턴 void

On() 공개 메소드

public On ( string event_, System.Action callback ) : void
event_ string
callback System.Action
리턴 void

On() 공개 메소드

public On ( string event_, string>.Action callback ) : void
event_ string
callback string>.Action
리턴 void

OnClose() 공개 메소드

public OnClose ( System.Action callback ) : void
callback System.Action
리턴 void

OnError() 공개 메소드

public OnError ( System.Action callback ) : void
callback System.Action
리턴 void

OnMessage() 공개 메소드

public OnMessage ( string event_, Newtonsoft.Json.Linq.JObject payload, string ref_ ) : void
event_ string
payload Newtonsoft.Json.Linq.JObject
ref_ string
리턴 void

Push() 공개 메소드

public Push ( string event_, Newtonsoft.Json.Linq.JObject payload ) : Push
event_ string
payload Newtonsoft.Json.Linq.JObject
리턴 Push

Push() 공개 메소드

public Push ( string event_, Newtonsoft.Json.Linq.JObject payload, int timeout ) : Push
event_ string
payload Newtonsoft.Json.Linq.JObject
timeout int
리턴 Push

RejoinUntilConnected() 공개 메소드

public RejoinUntilConnected ( ) : void
리턴 void