示例#1
0
文件: Agent.cs 项目: tuita520/Regulus
 public Agent(IProtocol protocol, Regulus.Network.IConnectProviderable client)
 {
     _Serializer     = protocol.GetSerialize();
     _Machine        = new StageMachine();
     _Core           = new AgentCore(protocol);
     connectproivder = client;
 }
示例#2
0
            public ConnectStage(IPEndPoint ip, IConnectProviderable agent)
            {
                _Peer = agent.Spawn();


                _Ip = ip;
            }
示例#3
0
 public ClientHandler(int id, IConnectProviderable client, Command command, Console.IViewer viewer)
 {
     _Id      = id;
     _Client  = client;
     _Command = command;
     _Viewer  = viewer;
     _Updater = new Updater();
 }
示例#4
0
 public RemoteFactory(Regulus.Network.IConnectProviderable client)
 {
     _Client = client;
 }