com.onlineobject.objectnet Namespace

EmbeddedMessageHandlerAttribute Constructor

Initializes a new instance of the EmbeddedMessageHandlerAttribute class with the messageId and groupId values.

Namespace:  com.onlineobject.objectnet.server
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public EmbeddedMessageHandlerAttribute(

	ushort messageId,

	byte groupId

)

Parameters

messageId
Type: UInt16
The ID of the message type which this method is meant to handle.
groupId
Type: Byte
The ID of the group of message handlers which this method belongs to.

Remarks


EmbeddedServers will only use this method if its signature matches the EmbeddedServer..::..MessageHandler signature. EmbeddedClients will only use this method if its signature matches the EmbeddedClient..::..MessageHandler signature. This method will be ignored if its signature matches neither of the valid message handler signatures.