Last change
on this file was
107,
checked in by stoda, 11 years ago
|
Error detected: there should be only one thread listening to the multiexchange queue.
TODO: change this. Make refactor in the invocationthread. Change remotethreadpool to achieve this behavior.
AInvocationThread <- InvocationTHread
<- MultiInvocationTHread
|
File size:
668 bytes
|
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 | /** |
---|
[105] | 19 | * Returns the reference of a RemoteObject |
---|
[44] | 20 | * |
---|
[105] | 21 | * @return reference |
---|
[44] | 22 | */ |
---|
| 23 | public String getRef(); |
---|
[107] | 24 | |
---|
| 25 | public String getUID(); |
---|
| 26 | |
---|
| 27 | public void setUID(String uID); |
---|
[44] | 28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.