C# 클래스 Redu.RedisConnection

상속: IDisposable
파일 보기 프로젝트 열기: arccoza/redu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
EventArgsPool Util.ResourcePool
SocketPool Util.ResourcePool

공개 메소드들

메소드 설명
Close ( ) : void
Close ( System.Guid channelId ) : void
Dispose ( ) : void
Open ( ) : void
Open ( System.Guid channelId ) : void
Receive ( ReceiveHandler handler ) : ReceiveHandler
RedisConnection ( ) : System
RedisConnection ( string connectionString ) : System
RedisConnection ( string host, int port ) : System
Send ( System.Guid channelId, byte command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
Send ( System.Guid channelId, byte command, int numOfPackagesToRec ) : ReceiveHandler
Send ( System.Guid channelId, string command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
Send ( System.Guid channelId, string command, int numOfPackagesToRec ) : ReceiveHandler
Send ( byte command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
Send ( byte command, ReceiveHandler handler ) : ReceiveHandler
Send ( byte command, int numOfPackagesToRec ) : ReceiveHandler
Send ( string command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
Send ( string command, ReceiveHandler handler ) : ReceiveHandler
Send ( string command, int numOfPackagesToRec ) : ReceiveHandler

보호된 메소드들

메소드 설명
CreateEventArg ( ) : SocketAsyncEventArgs
CreateSocket ( ) : Socket
DeleteEventArg ( SocketAsyncEventArgs e ) : void
DeleteSocket ( Socket s ) : void
Dispose ( bool disposing ) : void
ProcessError ( object sender, SocketAsyncEventArgs e ) : void
ProcessSocketEvents ( object sender, SocketAsyncEventArgs e ) : void

비공개 메소드들

메소드 설명
Init ( ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Close() 공개 메소드

public Close ( System.Guid channelId ) : void
channelId System.Guid
리턴 void

CreateEventArg() 보호된 메소드

protected CreateEventArg ( ) : SocketAsyncEventArgs
리턴 System.Net.Sockets.SocketAsyncEventArgs

CreateSocket() 보호된 메소드

protected CreateSocket ( ) : Socket
리턴 System.Net.Sockets.Socket

DeleteEventArg() 보호된 메소드

protected DeleteEventArg ( SocketAsyncEventArgs e ) : void
e System.Net.Sockets.SocketAsyncEventArgs
리턴 void

DeleteSocket() 보호된 메소드

protected DeleteSocket ( Socket s ) : void
s System.Net.Sockets.Socket
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Open() 공개 메소드

public Open ( ) : void
리턴 void

Open() 공개 메소드

public Open ( System.Guid channelId ) : void
channelId System.Guid
리턴 void

ProcessError() 보호된 메소드

protected ProcessError ( object sender, SocketAsyncEventArgs e ) : void
sender object
e System.Net.Sockets.SocketAsyncEventArgs
리턴 void

ProcessSocketEvents() 보호된 메소드

protected ProcessSocketEvents ( object sender, SocketAsyncEventArgs e ) : void
sender object
e System.Net.Sockets.SocketAsyncEventArgs
리턴 void

Receive() 공개 메소드

public Receive ( ReceiveHandler handler ) : ReceiveHandler
handler ReceiveHandler
리턴 ReceiveHandler

RedisConnection() 공개 메소드

public RedisConnection ( ) : System
리턴 System

RedisConnection() 공개 메소드

public RedisConnection ( string connectionString ) : System
connectionString string
리턴 System

RedisConnection() 공개 메소드

public RedisConnection ( string host, int port ) : System
host string
port int
리턴 System

Send() 공개 메소드

public Send ( System.Guid channelId, byte command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
channelId System.Guid
command byte
callback ReceiveCallback
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( System.Guid channelId, byte command, int numOfPackagesToRec ) : ReceiveHandler
channelId System.Guid
command byte
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( System.Guid channelId, string command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
channelId System.Guid
command string
callback ReceiveCallback
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( System.Guid channelId, string command, int numOfPackagesToRec ) : ReceiveHandler
channelId System.Guid
command string
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( byte command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
command byte
callback ReceiveCallback
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( byte command, ReceiveHandler handler ) : ReceiveHandler
command byte
handler ReceiveHandler
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( byte command, int numOfPackagesToRec ) : ReceiveHandler
command byte
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( string command, ReceiveCallback callback, int numOfPackagesToRec = 1 ) : ReceiveHandler
command string
callback ReceiveCallback
numOfPackagesToRec int
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( string command, ReceiveHandler handler ) : ReceiveHandler
command string
handler ReceiveHandler
리턴 ReceiveHandler

Send() 공개 메소드

public Send ( string command, int numOfPackagesToRec ) : ReceiveHandler
command string
numOfPackagesToRec int
리턴 ReceiveHandler

프로퍼티 상세

EventArgsPool 보호되어 있는 프로퍼티

protected Util.ResourcePool EventArgsPool
리턴 Util.ResourcePool

SocketPool 보호되어 있는 프로퍼티

protected Util.ResourcePool SocketPool
리턴 Util.ResourcePool