C# 클래스 AndroidFayeClient.WebsocketHandler

상속: MessageHandler
파일 보기 프로젝트 열기: Connorcpu/XamarinFayeClient 1 사용 예제들

공개 메소드들

메소드 설명
ConnectRequest ( ) : void
Disconnect ( ) : void
Dispose ( ) : void
Handshake ( ) : void
Publish ( string channel, JToken data ) : void
Subscribe ( string channel ) : void
Unsubscribe ( string channel ) : void

보호된 메소드들

메소드 설명
Connect ( string uri ) : void
OnConnectResponse ( Newtonsoft.Json.Linq.JObject response ) : void
OnConnected ( ) : void
OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void

비공개 메소드들

메소드 설명
OnMessageReceived ( object sender, WebSocket4Net.MessageReceivedEventArgs messageReceivedEventArgs ) : void
OnSocketClosed ( object sender, EventArgs eventArgs ) : void
OnSocketError ( object sender, SuperSocket errorEventArgs ) : void
OnSocketOpened ( object sender, EventArgs eventArgs ) : void
Send ( object obj, bool addClientId = true ) : void
WaitForTimeout ( ) : void

메소드 상세

Connect() 보호된 메소드

protected Connect ( string uri ) : void
uri string
리턴 void

ConnectRequest() 공개 메소드

public ConnectRequest ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Handshake() 공개 메소드

public Handshake ( ) : void
리턴 void

OnConnectResponse() 보호된 메소드

protected OnConnectResponse ( Newtonsoft.Json.Linq.JObject response ) : void
response Newtonsoft.Json.Linq.JObject
리턴 void

OnConnected() 보호된 메소드

protected OnConnected ( ) : void
리턴 void

OnHandshakeResponse() 보호된 메소드

protected OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void
response Newtonsoft.Json.Linq.JObject
리턴 void

Publish() 공개 메소드

public Publish ( string channel, JToken data ) : void
channel string
data JToken
리턴 void

Subscribe() 공개 메소드

public Subscribe ( string channel ) : void
channel string
리턴 void

Unsubscribe() 공개 메소드

public Unsubscribe ( string channel ) : void
channel string
리턴 void