/** Return the remote protocol for a proxy. */ public static Protocol getRemote(Object proxy) throws IOException { return ((Requestor)Proxy.getInvocationHandler(proxy)).getRemote(); }
/** Return the remote protocol for a proxy. */ public static Protocol getRemote(Object proxy) throws IOException { return ((Requestor)Proxy.getInvocationHandler(proxy)).getRemote(); }
m = getRemote().getMessages().get(messageName); if (m == null) throw new AvroRuntimeException("Not a remote message: "+messageName);
Message rm = getRemote().getMessages().get(messageName); if (rm == null) throw new AvroRuntimeException("Not a remote message: "+messageName);