|
DataPublisherHandleUserCommand Method
|
Handles custom commands defined by the user of the publisher API.
Namespace: GSF.TimeSeries.TransportAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
SyntaxProtected Overridable Sub HandleUserCommand (
connection As ClientConnection,
command As ServerCommand,
buffer As Byte(),
startIndex As Integer,
length As Integer
)
protected:
virtual void HandleUserCommand(
ClientConnection^ connection,
ServerCommand command,
array<unsigned char>^ buffer,
int startIndex,
int length
)
function HandleUserCommand(connection, command, buffer, startIndex, length);
View SourceParameters
- 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