public ServerIncomingStreamMonitor(IOStreamProvider iosp, ServerNetworkTableEntryStore sntes, ServerIncomingConnectionListener sicl, ServerAdapterManager sam, NetworkTableEntryTypeManager ntetm, NTThreadManager nttm) { base.\u002Ector(); ServerIncomingStreamMonitor incomingStreamMonitor = this; this.streamProvider = iosp; this.entryStore = sntes; this.incomingListener = sicl; this.adapterListener = sam; this.typeManager = ntetm; this.threadManager = nttm; }
public NetworkTableServer(IOStreamProvider iosp, NetworkTableEntryTypeManager ntetm, NTThreadManager nttm) { NetworkTableServer networkTableServer = this; ServerNetworkTableEntryStore sntes; this.init((AbstractNetworkTableEntryStore) (sntes = new ServerNetworkTableEntryStore((AbstractNetworkTableEntryStore.TableListenerManager) this))); this.streamProvider = iosp; this.connectionList = new ServerConnectionList(); this.writeManager = new WriteManager((FlushableOutgoingEntryReceiver) this.connectionList, nttm, this.getEntryStore(), long.MaxValue); this.incomingStreamMonitor = new ServerIncomingStreamMonitor(iosp, sntes, (ServerIncomingConnectionListener) this, (ServerAdapterManager) this.connectionList, ntetm, nttm); this.getEntryStore().setIncomingReceiver((OutgoingEntryReceiver) new TransactionDirtier((OutgoingEntryReceiver) this.writeManager)); this.getEntryStore().setOutgoingReceiver((OutgoingEntryReceiver) new TransactionDirtier((OutgoingEntryReceiver) this.writeManager)); this.incomingStreamMonitor.start(); this.writeManager.start(); }
public NetworkTableServer(IOStreamProvider iosp) : this(iosp, new NetworkTableEntryTypeManager(), (NTThreadManager) new DefaultThreadManager()) { }