C# Class Eryan.IPC.Pipe

Named pipe representation
Afficher le fichier Open project: emist/Eryan Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

initialize() public méthode

public initialize ( ) : bool
Résultat bool

isReady() public méthode

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

pipeClient() public méthode

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