Delegate SoMessageRecieved
Delegate used by SoMessageListener to notify that a message has beenb recieved.
Namespace: SuperOffice.Messaging
Assembly: SoDataBase.dll
Syntax
public delegate void SoMessageRecieved(SoMessageHeader header, IPEndPoint source, byte[] rawMessage);
Parameters
Type | Name | Description |
---|---|---|
SoMessageHeader | header | |
IPEndPoint | source | |
Byte[] | rawMessage |
Constructors
SoMessageRecieved(Object, IntPtr)
Delegate used by SoMessageListener to notify that a message has beenb recieved.
Declaration
public SoMessageRecieved(object object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
Object | object | |
IntPtr | method |
Methods
BeginInvoke(SoMessageHeader, IPEndPoint, Byte[], AsyncCallback, Object)
Delegate used by SoMessageListener to notify that a message has beenb recieved.
Declaration
public virtual IAsyncResult BeginInvoke(SoMessageHeader header, IPEndPoint source, byte[] rawMessage, AsyncCallback callback, object object)
Parameters
Type | Name | Description |
---|---|---|
SoMessageHeader | header | |
IPEndPoint | source | |
Byte[] | rawMessage | |
AsyncCallback | callback | |
Object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(IAsyncResult)
Delegate used by SoMessageListener to notify that a message has beenb recieved.
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
Invoke(SoMessageHeader, IPEndPoint, Byte[])
Delegate used by SoMessageListener to notify that a message has beenb recieved.
Declaration
public virtual void Invoke(SoMessageHeader header, IPEndPoint source, byte[] rawMessage)
Parameters
Type | Name | Description |
---|---|---|
SoMessageHeader | header | |
IPEndPoint | source | |
Byte[] | rawMessage |
Extension Methods
EnumUtil.MapEnums<From, To>(From)