C# 클래스 ArtemisComm.Connector

상속: IDisposable
파일 보기 프로젝트 열기: russjudge/ArtemisSBS-ProtocolSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ServerStream System.Net.Sockets.NetworkStream
StandardID int

Private Properties

프로퍼티 타입 설명
BytesToQueueProcessor void
Dispose void
RaiseBytesReceived void
RaiseExceptionEncountered void
SendProcessor void

공개 메소드들

메소드 설명
ClearSendQueue ( ) : void
Connector ( int port ) : System
Dispose ( ) : void
Send ( MemoryStream stream ) : void
Start ( TcpClient client ) : void

Starts the specified client.

Stop ( ) : void

Stops the connection

비공개 메소드들

메소드 설명
BytesToQueueProcessor ( ) : void

Processes Byte from the TCP/IP stream to queue processor.

Dispose ( bool Disposing ) : void
RaiseBytesReceived ( Stream buffer ) : void
RaiseExceptionEncountered ( Exception ex ) : void
SendProcessor ( ) : void

메소드 상세

ClearSendQueue() 공개 메소드

public ClearSendQueue ( ) : void
리턴 void

Connector() 공개 메소드

public Connector ( int port ) : System
port int
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Send() 공개 메소드

public Send ( MemoryStream stream ) : void
stream System.IO.MemoryStream
리턴 void

Start() 공개 메소드

Starts the specified client.
public Start ( TcpClient client ) : void
client System.Net.Sockets.TcpClient The client.
리턴 void

Stop() 공개 메소드

Stops the connection
public Stop ( ) : void
리턴 void

프로퍼티 상세

ServerStream 공개적으로 프로퍼티

public NetworkStream,System.Net.Sockets ServerStream
리턴 System.Net.Sockets.NetworkStream

StandardID 공개적으로 정적으로 프로퍼티

public static int StandardID
리턴 int