Package org.jboss.remoting.invocation

Examples of org.jboss.remoting.invocation.RemoteInvocation


/*     */     throws Throwable
/*     */   {
/* 138 */     if (!(invocation.getParameter() instanceof RemoteInvocation)) {
/* 139 */       throw new Exception("invalid request format: expecting RemoteInvocation");
/*     */     }
/* 141 */     RemoteInvocation request = (RemoteInvocation)invocation.getParameter();
/* 142 */     String methodName = request.getMethodName();
/* 143 */     Object[] args = request.getParameters();
/*     */
/* 145 */     if (methodName.equals("createChat")) {
/* 146 */       return createChat(args);
/*     */     }
/* 148 */     if (methodName.equals("join"))
View Full Code Here


/* 39 */     this.messages = messages;
/*    */
/* 41 */     this.backChatSize = messages.size();
/* 42 */     ArrayList backChat = new ArrayList(this.backChatSize);
/* 43 */     backChat = messages.copy();
/* 44 */     RemoteInvocation invocation = new RemoteInvocation("sendMultiple", new Object[] { backChat });
/* 45 */     Callback callback = new Callback(invocation);
/*    */     try
/*    */     {
/* 49 */       callbackHandler.handleCallback(callback);
/*    */     }
View Full Code Here

/*    */   {
/* 64 */     int i = this.backChatSize;
/*    */
/* 66 */     while ((!this.shutDownGate.isShuttingDown()) && (!this.memberLeaving))
/*    */     {
/* 68 */       RemoteInvocation invocation = new RemoteInvocation("send", new Object[] { this.messages.get(i) });
/* 69 */       Callback callback = new Callback(invocation);
/*    */       try
/*    */       {
/* 73 */         this.callbackHandler.handleCallback(callback);
/*    */       }
View Full Code Here

      Object[] params = null;
      String[] sig = null;

      if(param instanceof RemoteInvocation)
      {
         RemoteInvocation rminvo = (RemoteInvocation) param;
         methodName = rminvo.getMethodName();
         params = rminvo.getParameters();
      }
      else
      {
         throw new Exception("Unknown invocation payload (" + param + ").  " +
                             "Should be instance of RemoteInvocation.");
View Full Code Here

TOP

Related Classes of org.jboss.remoting.invocation.RemoteInvocation

Copyright © 2018 www.massapicom. 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.