Example #1
0
        public void recv(BServer server, BMessage msg, BAsyncResultIF <BMessage> asyncResult)
        {
            if (log.isDebugEnabled())
            {
                log.debug("recv(");
            }

            BInput bin       = getInput(msg.header, msg.buf);
            Object methodObj = bin.load();

            if (log.isDebugEnabled())
            {
                log.debug("methodObj=" + methodObj);
            }

            MethodResult methodResult = new MethodResult(this, asyncResult, bin);

            BTargetId clientTargetId = bin.header.targetId;

            if (log.isDebugEnabled())
            {
                log.debug("clientTargetId=" + clientTargetId);
            }

            if (log.isDebugEnabled())
            {
                log.debug("server.recv");
            }
            server.recv(clientTargetId, methodObj, methodResult);

            if (log.isDebugEnabled())
            {
                log.debug(")recv");
            }
        }
Example #2
0
 public override void recv(BTargetId clientTargetId, Object methodObj, BAsyncResultIF <Object> methodResult)
 {
     innerServer.recv(clientTargetId, methodObj, methodResult);
 }