Beispiel #1
0
 /// <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();
 }
Beispiel #2
0
 public SFSIOHandler(ISocketClient bitSwarm)
 {
     this.bitSwarm   = bitSwarm as BitSwarmClient;
     log             = bitSwarm.Log;
     packetEncrypter = new DefaultPacketEncrypter(this.bitSwarm);
     protocolCodec   = new SFSProtocolCodec(this, bitSwarm);
     InitStates();
 }
Beispiel #3
0
 public ModbusClient(IProtocolCodec codec)
 {
     this.Codec = codec;
 }
 public ModbusServer(IProtocolCodec codec)
 {
     this.Codec = codec;
 }
Beispiel #5
0
 public ModbusClient(IProtocolCodec codec)
 {
     Codec = codec;
 }
Beispiel #6
0
 public WSIOHandler(ISocketClient socketClient)
 {
     this.socketClient = socketClient;
     log           = socketClient.Log;
     protocolCodec = new WSProtocolCodec(this, socketClient);
 }
Beispiel #7
0
 public ModbusServer(IProtocolCodec codec)
 {
     Codec = codec;
 }