C# Class Eryan.IPC.Pipe

Named pipe representation
显示文件 Open project: emist/Eryan Class Usage Examples

Public Methods

Method Description
Pipe ( String name ) : System

Constructs a pipe with the given name

initialize ( ) : bool
isReady ( ) : bool

Check if the pipe is ready for reading/writing

pipeClient ( eveobjects fcall ) : byte[]

Calls functions on Black

Private Methods

Method Description
CreateFile ( string fileName, [ fileAccess, [ fileShare, IntPtr securityAttributes, [ creationDisposition, int flags, IntPtr template ) : IntPtr
ReadFile ( IntPtr hFile, [ lpBuffer, uint nNumberOfBytesToRead, uint &lpNumberOfBytesRead, IntPtr lpOverlapped ) : bool
WaitNamedPipe ( string lpNamedPipeName, uint nTimeOut ) : bool
WriteFile ( IntPtr hFile, byte lpBuffer, uint nNumberOfBytesToWrite, uint &lpNumberOfBytesWritten, [ lpOverlapped ) : bool

Method Details

Pipe() public method

Constructs a pipe with the given name
public Pipe ( String name ) : System
name String Name of the pipe to build
return System

initialize() public method

public initialize ( ) : bool
return bool

isReady() public method

Check if the pipe is ready for reading/writing
public isReady ( ) : bool
return bool

pipeClient() public method

Calls functions on Black
public pipeClient ( eveobjects fcall ) : byte[]
fcall eveobjects The functionCall object representing the function to be called
return byte[]