public TcpTransport(TcpTransportConfiguration configuration, Identity identity, RoutingTable routingTable, PeerTable peerTable, InboundMessageDispatcher inboundMessageDispatcher, TcpRoutingContextContainer tcpRoutingContextContainer, PayloadUtils payloadUtils) { this.configuration = configuration; this.identity = identity; this.routingTable = routingTable; this.peerTable = peerTable; this.inboundMessageDispatcher = inboundMessageDispatcher; this.tcpRoutingContextContainer = tcpRoutingContextContainer; this.payloadUtils = payloadUtils; }
public TcpRoutingContext(TcpTransportConfiguration configuration, TcpRoutingContextContainer tcpRoutingContextContainer, Socket client, InboundMessageDispatcher inboundMessageDispatcher, Identity localIdentity, RoutingTable routingTable, PeerTable peerTable, PayloadUtils payloadUtils) { logger.Debug($"Constructing TcpRoutingContext for client {client.RemoteEndPoint}, localId: {localIdentity}"); this.configuration = configuration; this.tcpRoutingContextContainer = tcpRoutingContextContainer; this.client = client; this.inboundMessageDispatcher = inboundMessageDispatcher; this.localIdentity = localIdentity; this.routingTable = routingTable; this.peerTable = peerTable; this.payloadUtils = payloadUtils; this.ns = new NetworkStream(client); }
public TcpDebugMob(TcpRoutingContextContainer tcpRoutingContextContainer) { this.tcpRoutingContextContainer = tcpRoutingContextContainer; }