Click or drag to resize

DataPublisherHandleUserCommand Method

Handles custom commands defined by the user of the publisher API.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
protected virtual void HandleUserCommand(
	ClientConnection connection,
	ServerCommand command,
	byte[] buffer,
	int startIndex,
	int length
)
View Source

Parameters

connection  ClientConnection
Object representing the connection to the data subscriber.
command  ServerCommand
The command issued by the subscriber.
buffer  Byte
The buffer containing the entire message from the subscriber.
startIndex  Int32
The index indicating where to start reading from the buffer to skip past the message header.
length  Int32
The total number of bytes in the message, including the header.
See Also