C# 클래스 EpLibrary.cs.IpcPipe

IPC Pipe class
상속: IpcInterface, IDisposable
파일 보기 프로젝트 열기: juhgiyo/EpLibrary.cs 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Dispose void
OnClientConnected void
OnReadComplete void
OnWriteComplete void

공개 메소드들

메소드 설명
Create ( ) : bool

Create the pipe

Dispose ( ) : void
IpcPipe ( IpcPipeOps options ) : System

Default Constructor

IsConnectionAlive ( ) : bool

Check if the connection is alive

KillConnection ( ) : void

Kill the connection

Reconnect ( ) : void

Kill current connection and wait for other connection

Write ( byte data, int offset, int dataByteSize ) : void

Write data to the pipe

비공개 메소드들

메소드 설명
Dispose ( bool isDisposing ) : void
OnClientConnected ( IAsyncResult result ) : void

Handle on client connected

OnReadComplete ( IAsyncResult result ) : void

Handle when read is completed

OnWriteComplete ( IAsyncResult result ) : void

Handles when Write is completed

메소드 상세

Create() 공개 메소드

Create the pipe
public Create ( ) : bool
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

IpcPipe() 공개 메소드

Default Constructor
public IpcPipe ( IpcPipeOps options ) : System
options IpcPipeOps the pipe options
리턴 System

IsConnectionAlive() 공개 메소드

Check if the connection is alive
public IsConnectionAlive ( ) : bool
리턴 bool

KillConnection() 공개 메소드

Kill the connection
public KillConnection ( ) : void
리턴 void

Reconnect() 공개 메소드

Kill current connection and wait for other connection
public Reconnect ( ) : void
리턴 void

Write() 공개 메소드

Write data to the pipe
public Write ( byte data, int offset, int dataByteSize ) : void
data byte the data to write
offset int offset to start write from given data
dataByteSize int byte size of the data to write
리턴 void