/// <summary> /// / /// </summary> /// <param name="bitSwarm"></param> public MPIOHandler(BitSwarmClient bitSwarm) { this.bitSwarm = bitSwarm; this.log = bitSwarm.Log; this.protocolCodec = new ProtocolCodec(this, bitSwarm); this.InitStates(); }
public SFSIOHandler(ISocketClient bitSwarm) { this.bitSwarm = bitSwarm as BitSwarmClient; log = bitSwarm.Log; packetEncrypter = new DefaultPacketEncrypter(this.bitSwarm); protocolCodec = new SFSProtocolCodec(this, bitSwarm); InitStates(); }
public ModbusClient(IProtocolCodec codec) { this.Codec = codec; }
public ModbusServer(IProtocolCodec codec) { this.Codec = codec; }
public ModbusClient(IProtocolCodec codec) { Codec = codec; }
public WSIOHandler(ISocketClient socketClient) { this.socketClient = socketClient; log = socketClient.Log; protocolCodec = new WSProtocolCodec(this, socketClient); }
public ModbusServer(IProtocolCodec codec) { Codec = codec; }