openPDC Synchrophasor Help
DeviceCommandHandler Method (clientID, connectionID, commandBuffer, length)
NamespacesTVA.PhasorProtocolsPhasorDataConcentratorBaseDeviceCommandHandler(Guid, String, array<Byte>[]()[][], Int32)
Handles incoming commands from devices connected over the command channel.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual void DeviceCommandHandler(
	Guid clientID,
	string connectionID,
	byte[] commandBuffer,
	int length
)
Protected Overridable Sub DeviceCommandHandler ( _
	clientID As Guid, _
	connectionID As String, _
	commandBuffer As Byte(), _
	length As Integer _
)
protected:
virtual void DeviceCommandHandler(
	Guid clientID, 
	String^ connectionID, 
	array<unsigned char>^ commandBuffer, 
	int length
)
Parameters
clientID (Guid)
Guid of client that sent the command.
connectionID (String)
Remote client connection identification (i.e., IP:Port).
commandBuffer (array<Byte>[]()[][])
Data buffer received from connected client device.
length (Int32)
Valid length of data within the buffer.
Remarks
This method should be overriden by derived classes in order to handle incoming commands, specifically handling requests for configuration frames.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0