Example #1
0
 public FlowGroup(FlowServer server, params DestinationClient[] groupClients) : this(server)
 {
     foreach (var client in groupClients)
     {
         UnsafeAdd(client);
     }
 }
Example #2
0
        public DestinationClient(IProtocol protocol, FlowServer server, EndPoint endPoint)
        {
            this.protocol  = protocol;
            this.server    = server;
            RemoteEndPoint = endPoint;

            protocol.OnClose += Protocol_OnClose;
            protocol.OnData  += Protocol_OnData;
            protocol.Reader();
        }
Example #3
0
 public FlowGroup(FlowServer server)
 {
     this.server = server;
 }