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"); } }
public HServerR(BTransport transport, BServer server, int nbOfConns) : base(transport, server) { this.nbOfConns = nbOfConns; this.sleepMillisBeforeRetry = 30 * 1000; //workerThread = new Thread(new ParameterizedThreadStart(workerFnct)); }
public BServerR createServerR(BServer server) { if (nbOfServerRConns == 0) { return(null); } return(new HServerR(transport, server, nbOfServerRConns)); }
public MyServer(BServerR outerServer, BServer innerServer) : base (innerServer.transport, null) { this.outerServer = outerServer; this.innerServer = innerServer; }
public BServerR(BTransport transport, BServer server) { this.transport = transport; this.server = new MyServer(this, server); }
public MyServer(BServerR outerServer, BServer innerServer) : base(innerServer.transport, null) { this.outerServer = outerServer; this.innerServer = innerServer; }
public BServer(BServer rhs) { this.transport = rhs.transport; this.clientR = rhs.clientR; this.remotes = rhs.remotes; }
public BServerR createServerR(BServer server) { if (nbOfServerRConns == 0) return null; return new HServerR(transport, server, nbOfServerRConns); }