/* */ }
/* */
/* */ public void handleCallback(Callback callback) throws HandleCallbackException
/* */ {
/* 31 */ if (!(callback.getParameter() instanceof RemoteInvocation)) {
/* 32 */ throw new HandleCallbackException("invalid request format: expecting RemoteInvocation");
/* */ }
/* 34 */ RemoteInvocation request = (RemoteInvocation)callback.getParameter();
/* 35 */ String methodName = request.getMethodName();
/* 36 */ Object[] args = request.getParameters();
/* */
/* 38 */ if (methodName.equals("send")) {
/* 39 */ send(args);
/* */ }
/* 41 */ else if (methodName.equals("sendMultiple")) {
/* 42 */ sendMultiple(args);
/* */ }
/* 44 */ else if (methodName.equals("setKey")) {
/* 45 */ setKey(args);
/* */ }
/* 47 */ else if (methodName.equals("shuttingDown")) {
/* 48 */ shuttingDown(args);
/* */ }
/* */ else
/* 51 */ throw new HandleCallbackException("unrecognized method name: " + methodName);
/* */ }