1 21 22 package com.rift.coad.daemon.messageservice; 24 25 import java.rmi.Remote ; 27 import java.rmi.RemoteException ; 28 29 30 36 public interface AsyncCallbackHandler extends Remote { 37 44 public void onSuccess(String messageId, String correllationId, 45 Object result) throws RemoteException ; 46 47 48 56 public void onFailure(String messageId, String correllationId, 57 Throwable caught) throws RemoteException ; 58 } 59 | Popular Tags |