C# 클래스 ctac.SocketService

상속: ISocketService
파일 보기 프로젝트 열기: dshook/centauri-tac

Private Properties

프로퍼티 타입 설명
ConnectAndRequest IEnumerator
DestroySockets void
MakeRequest IEnumerator
PostConstruct void
SocketConnect IEnumerator
onSocketClose void
onSocketError void
onSocketMessage void
onSocketOpen void

공개 메소드들

메소드 설명
Disconnect ( System.Guid clientId, string componentName ) : void
Disconnect ( SocketKey key ) : void
Request ( System.Guid clientId, string componentName, string methodName, object data = null ) : void
Request ( SocketKey key, string methodName, object data = null ) : void

비공개 메소드들

메소드 설명
ConnectAndRequest ( SocketKey key, string methodName, object data ) : IEnumerator
DestroySockets ( ) : void
MakeRequest ( SocketKey key, string methodName, object data ) : IEnumerator
PostConstruct ( ) : void
SocketConnect ( SocketKey key ) : IEnumerator
onSocketClose ( SocketKey key, object sender, CloseEventArgs e ) : void
onSocketError ( SocketKey key, object sender, ErrorEventArgs e ) : void
onSocketMessage ( SocketKey key, object sender, MessageEventArgs e ) : void
onSocketOpen ( SocketKey key, object sender, EventArgs e ) : void

메소드 상세

Disconnect() 공개 메소드

public Disconnect ( System.Guid clientId, string componentName ) : void
clientId System.Guid
componentName string
리턴 void

Disconnect() 공개 메소드

public Disconnect ( SocketKey key ) : void
key SocketKey
리턴 void

Request() 공개 메소드

public Request ( System.Guid clientId, string componentName, string methodName, object data = null ) : void
clientId System.Guid
componentName string
methodName string
data object
리턴 void

Request() 공개 메소드

public Request ( SocketKey key, string methodName, object data = null ) : void
key SocketKey
methodName string
data object
리턴 void