예제 #1
0
        public void beginGetHaloBootstrap(AsyncCallback getHaloBootstrapCallBack, Object appState)
        {
            Console.WriteLine("ZhimeraProxyNode::beginGetHaloBootstrap ENTER");

            byte[] compositeMsg = UtilityMethod.convertToTabSeparatedByteArray(true, "GET_HALOBOOTSTRAP");

            Console.WriteLine("ZhimeraProxyNode::getRank before sendMsg to proxyController");
            proxyController.sendMsgTwoWay(this, compositeMsg, 0, compositeMsg.Length, getHaloBootstrapCallBack, appState);
        }
예제 #2
0
        public void beginGetFingerTable(AsyncCallback getFingerTableCallBack, Object appState)
        {
            Console.WriteLine("ChordProxyNode::beginGetFingerTable ENTER");

            byte[] compositeMsg = UtilityMethod.convertToTabSeparatedByteArray(true, "GET_FINGERTABLE");

            Console.WriteLine("ChordProxyNode::beginGetFingerTable before sendMsg to proxyController");
            proxyController.sendMsgTwoWay(this, compositeMsg, 0, compositeMsg.Length, getFingerTableCallBack, appState);
        }