public FlowClient(IPAddress address, int port, FlowOptions options = null) { this.address = address; this.port = port; this.options = options ?? new FlowOptions(); flowBinder = new FlowBinder(this.options); clientSocket = new TcpClient(); }
public SomeBindWorker(FlowBinder binder) { binder.Bind <Planet>(1, (Action <Planet>)Console.WriteLine); }
public FlowServer(FlowOptions options = null) { this.options = options ?? new FlowOptions(); flowBinder = new FlowBinder(this.options); serverClients = new FlowGroup(this); }
public void SetUp() { binder = new FlowBinder(new FlowOptions()); }