Skip to content

3.3 Extends Connector to create a link method

parallelbgls edited this page Jun 29, 2017 · 1 revision

IConnector is connecting interface. It has no relationship with protocol but protocol linking way. The content is only send receive and a communication switch.

  • Extends IConnector or BaseConnector

    • Implementing Connect/Disconnect, the communication switch.
    • Implementing SendMsg, the sending and receiving of protocols.
    • Implementing SendMsgWithouReturn, the sends only of protocols. Device will not response any message.
    • Implementing get only property ConnectionToken(Mark) and IsConnected(Link status).

Home

Clone this wiki locally