C# Class PBCaGw.Handlers.Echo

23 (0x17) CA_PROTO_ECHO
Inheritance: CommandHandler
Mostrar archivo Open project: ISISComputingGroup/EPICS-epicssharp Class Usage Examples

Public Methods

Method Description
DoRequest ( DataPacket packet, Workers chain, DataPacketDelegate sendData ) : void
DoResponse ( DataPacket packet, Workers chain, DataPacketDelegate sendData ) : void

Private Methods

Method Description
HandleEcho ( DataPacket packet, Workers chain, DataPacketDelegate SendData ) : void

Both request / answer should be handled in the same way. If we didn't sent the first packet then we should answer, otherwise it's the answer to our own echo, therefore drop it.

Method Details

DoRequest() public method

public DoRequest ( DataPacket packet, Workers chain, DataPacketDelegate sendData ) : void
packet DataPacket
chain Workers
sendData DataPacketDelegate
return void

DoResponse() public method

public DoResponse ( DataPacket packet, Workers chain, DataPacketDelegate sendData ) : void
packet DataPacket
chain Workers
sendData DataPacketDelegate
return void