C# Class tiesky.com.SharmIpcInternals.ReaderWriterHandler

Inheritance: IDisposable
Afficher le fichier Open project: hhblaze/SharmIPC Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

MsgId of the sender and payload

GetMessageId ( ) : ulong

To get new Id this function must be used

ReaderWriterHandler ( SharedMemory sm ) : System
SendMessage ( eMsgType msgType, ulong msgId, byte msg, ulong responseMsgId ) : bool

Returns false if buffer threshold is reached

Private Methods

Méthode Description
InitReader ( ) : void

InitWriter ( ) : void
ReadBytes ( byte ptr, int offset, int num ) : byte[]
ReadBytes ( int offset, int num ) : byte[]
StartSendProcedure ( ) : void
WriteBytes ( byte ptr, int offset, byte data ) : void
WriteBytes ( int offset, byte data ) : void

Method Details

Dispose() public méthode

MsgId of the sender and payload
public Dispose ( ) : void
Résultat void

GetMessageId() public méthode

To get new Id this function must be used
public GetMessageId ( ) : ulong
Résultat ulong

ReaderWriterHandler() public méthode

public ReaderWriterHandler ( SharedMemory sm ) : System
sm SharedMemory
Résultat System

SendMessage() public méthode

Returns false if buffer threshold is reached
public SendMessage ( eMsgType msgType, ulong msgId, byte msg, ulong responseMsgId ) : bool
msgType eMsgType
msgId ulong
msg byte
responseMsgId ulong
Résultat bool