C# Class tiesky.com.SharmIpcInternals.SharedMemory

Inheritance: IDisposable
ファイルを表示 Open project: hhblaze/SharmIPC Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposing

GetMessageId ( ) : ulong
SendMessage ( eMsgType msgType, ulong msgId, byte msg, ulong responseMsgId ) : bool
SharedMemory ( string uniqueHandlerName, SharmIpc SharmIPC, long bufferCapacity = 50000, int maxQueueSizeInBytes = 20000000 ) : System

Method Details

Dispose() public method

Disposing
public Dispose ( ) : void
return void

GetMessageId() public method

public GetMessageId ( ) : ulong
return ulong

SendMessage() public method

public SendMessage ( eMsgType msgType, ulong msgId, byte msg, ulong responseMsgId ) : bool
msgType eMsgType
msgId ulong
msg byte
responseMsgId ulong
return bool

SharedMemory() public method

public SharedMemory ( string uniqueHandlerName, SharmIpc SharmIPC, long bufferCapacity = 50000, int maxQueueSizeInBytes = 20000000 ) : System
uniqueHandlerName string Can be name of APP, both syncronized processes must use the same name and it must be unique among the OS
SharmIPC SharmIpc SharmIPC instance
bufferCapacity long
maxQueueSizeInBytes int
return System