Outubro 2008
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          89
MessageQueue interface
nimport java.rmi.*;
n
npublic interface MessageQueue extends Remote
n{
n  public void send(Object item) throws
n                                RemoteException;
n  public Object receive() throws RemoteException;
n}