Rev | Line | |
---|
[44] | 1 | package omq; |
---|
| 2 | |
---|
| 3 | import java.io.Serializable; |
---|
| 4 | |
---|
| 5 | /** |
---|
| 6 | * |
---|
[82] | 7 | * The Remote interface serves to identify interfaces whose methods may be |
---|
| 8 | * invoked from a non-local virtual machine. Any object that is a remote object |
---|
| 9 | * must directly or indirectly implement this interface. Only those methods |
---|
| 10 | * specified in a "remote interface", an interface that extends omq.Remote are |
---|
| 11 | * available remotely. |
---|
| 12 | * |
---|
[44] | 13 | * @author Sergi Toda <sergi.toda@estudiants.urv.cat> |
---|
| 14 | * |
---|
| 15 | */ |
---|
| 16 | public interface Remote extends Serializable { |
---|
| 17 | |
---|
| 18 | /** |
---|
| 19 | * Returns the UID of a RemoteObject |
---|
| 20 | * |
---|
| 21 | * @return UID |
---|
| 22 | */ |
---|
| 23 | public String getRef(); |
---|
| 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.