Examples of GaeaChannel


Examples of com.bj58.spat.gaea.server.contract.context.GaeaChannel

     
      byte[] requestBuffer = new byte[reciveByte.length];
      System.arraycopy(reciveByte, 0, requestBuffer, 0, (reciveByte.length));
     
      GaeaContext gaeaContext = new GaeaContext(requestBuffer,
          new GaeaChannel(e.getChannel()),
          ServerType.TCP,
          this);
     
      SocketServer.invokerHandle.invoke(gaeaContext);
    } catch(Throwable ex) {
View Full Code Here

Examples of com.bj58.spat.gaea.server.contract.context.GaeaChannel

  }

  @Override
  public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception {
    for(IFilter filter : Global.getSingleton().getConnectionFilterList()) {
      filter.filter(new GaeaContext(new GaeaChannel(e.getChannel())));
    }
  }
View Full Code Here

Examples of com.bj58.spat.gaea.server.contract.context.GaeaChannel

        }
       
        GaeaContext gaeaContext = new GaeaContext();
        gaeaContext.setServerType(ServerType.HTTP);
        gaeaContext.setServerHandler(this);
        gaeaContext.setChannel(new GaeaChannel(e.getChannel()));
      /**协议*/
      Protocol protocol = new Protocol();
      RequestProtocol request = new RequestProtocol();
      request.setLookup(action.getLookup());
      request.setMethodName(action.getMethodName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.