1 21 22 package com.rift.coad.daemon.messageservice; 23 24 29 public interface RPCMessage extends Message { 30 36 public void setMethodBodyXML(String xml) throws MessageServiceException; 37 38 39 45 public String getMethodBodyXML() throws MessageServiceException; 46 47 48 56 public void defineMethod(Class returnType, String name, Class [] types) 57 throws MessageServiceException; 58 59 60 66 public Object getReturnType() throws MessageServiceException; 67 68 69 75 public String getMethodName() throws MessageServiceException; 76 77 78 84 public Class [] getArgumentTypes() throws MessageServiceException; 85 86 87 93 public void setArguments(Object [] args) throws MessageServiceException; 94 95 96 102 public Object [] getArguments() throws MessageServiceException; 103 104 105 111 public boolean generatedException() throws MessageServiceException; 112 113 114 120 public Object getResult() throws MessageServiceException; 121 122 123 129 public void setResult(Object result) throws MessageServiceException; 130 131 132 139 public Throwable getThrowable() throws MessageServiceException; 140 141 142 149 public void setThrowable(Throwable throwable) throws MessageServiceException; 150 } 151 | Popular Tags |