Example #1
0
        internal OnlineResolver(IBoard board, string outip, int outport, int inport)
        {
            resolverCommon = new ResolverCommon(this);
            this.outip     = outip;
            this.inport    = inport;
            this.outport   = outport;

            this.board = board;
            var token     = TokenHelper.NewToken();
            var connector = new Connector(token);

            remote       = new RemoteProxy(connector);
            remote.Token = token;
            AttachProxy(remote);

            remote.EnableIn(System.Net.IPAddress.Any, inport);
            board.LatticClick += onLatticClick;
        }
Example #2
0
 public CoreResolverBase()
 {
     Judges         = new Judges();
     resolverCommon = new ResolverCommon(this);
 }