public SlaveConnection(int address, LinkLayer linkLayer, Action <string> debugLog, PrimaryLinkLayerUnbalanced linkLayerUnbalanced)
 {
     this.address             = address;
     this.linkLayer           = linkLayer;
     this.DebugLog            = debugLog;
     this.linkLayerUnbalanced = linkLayerUnbalanced;
 }
Ejemplo n.º 2
0
 public SecondaryLinkLayerBalanced(LinkLayer linkLayer, int address,
                                   Func <byte[], int, int, bool> handleApplicationLayer, Action <string> debugLog)
 {
     this.linkLayer              = linkLayer;
     this.linkLayerAddress       = address;
     this.DebugLog               = debugLog;
     this.HandleApplicationLayer = handleApplicationLayer;
 }
Ejemplo n.º 3
0
 public PrimaryLinkLayerBalanced(LinkLayer linkLayer, Func <BufferFrame> getUserData, Action <string> debugLog)
 {
     this.DebugLog    = debugLog;
     this.GetUserData = getUserData;
     this.linkLayer   = linkLayer;
 }