public SlaveConnection(int address, LinkLayer linkLayer, Action <string> debugLog, PrimaryLinkLayerUnbalanced linkLayerUnbalanced) { this.address = address; this.linkLayer = linkLayer; this.DebugLog = debugLog; this.linkLayerUnbalanced = linkLayerUnbalanced; }
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; }
public PrimaryLinkLayerBalanced(LinkLayer linkLayer, Func <BufferFrame> getUserData, Action <string> debugLog) { this.DebugLog = debugLog; this.GetUserData = getUserData; this.linkLayer = linkLayer; }