C# 클래스 PBCaGw.Handlers.Echo

23 (0x17) CA_PROTO_ECHO
상속: CommandHandler
파일 보기 프로젝트 열기: ISISComputingGroup/EPICS-epicssharp 1 사용 예제들

공개 메소드들

메소드 설명
DoRequest ( DataPacket packet, Workers chain, DataPacketDelegate sendData ) : void
DoResponse ( DataPacket packet, Workers chain, DataPacketDelegate sendData ) : void

비공개 메소드들

메소드 설명
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.

메소드 상세

DoRequest() 공개 메소드

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

DoResponse() 공개 메소드

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