C# 클래스 CrowdSourcedNews.Services.Utilities.PubnubAPI

파일 보기 프로젝트 열기: vladislav-karamfilov/TelerikAcademy

공개 메소드들

메소드 설명
History ( string channel, int limit ) : List
Publish ( string channel, object message ) : List
PubnubAPI ( string publish_key, string subscribe_key ) : System
PubnubAPI ( string publish_key, string subscribe_key, string secret_key ) : System
PubnubAPI ( string publish_key, string subscribe_key, string secret_key, bool ssl_on ) : System
Subscribe ( string channel, Procedure callback ) : void
Time ( ) : object
init ( string publish_key, string subscribe_key, string secret_key, bool ssl_on ) : void

비공개 메소드들

메소드 설명
_encodeURIcomponent ( string s ) : string
_request ( List url_components ) : List
_subscribe ( string channel, Procedure callback, object timetoken ) : void
isUnsafe ( char ch ) : bool
md5 ( string text ) : string
toHex ( int ch ) : char

메소드 상세

History() 공개 메소드

public History ( string channel, int limit ) : List
channel string
limit int
리턴 List

Publish() 공개 메소드

public Publish ( string channel, object message ) : List
channel string
message object
리턴 List

PubnubAPI() 공개 메소드

public PubnubAPI ( string publish_key, string subscribe_key ) : System
publish_key string
subscribe_key string
리턴 System

PubnubAPI() 공개 메소드

public PubnubAPI ( string publish_key, string subscribe_key, string secret_key ) : System
publish_key string
subscribe_key string
secret_key string
리턴 System

PubnubAPI() 공개 메소드

public PubnubAPI ( string publish_key, string subscribe_key, string secret_key, bool ssl_on ) : System
publish_key string
subscribe_key string
secret_key string
ssl_on bool
리턴 System

Subscribe() 공개 메소드

public Subscribe ( string channel, Procedure callback ) : void
channel string
callback Procedure
리턴 void

Time() 공개 메소드

public Time ( ) : object
리턴 object

init() 공개 메소드

public init ( string publish_key, string subscribe_key, string secret_key, bool ssl_on ) : void
publish_key string
subscribe_key string
secret_key string
ssl_on bool
리턴 void