|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Peer
This class provides an interface for the remote method of PEs.
Method Summary | |
---|---|
int |
receiveMsg(Message msg)
Receives a message from a remote PE. |
void |
setEOSflag(int f)
Sets the end-of-simulation flag |
void |
shutDown()
Shuts down ththe RMI server running on this PE by invoking its unexportObject method. |
Method Detail |
---|
int receiveMsg(Message msg) throws java.rmi.RemoteException
msg
- a Message object that is to be sent to this PE.
java.rmi.RemoteException
void shutDown() throws java.rmi.RemoteException
java.rmi.RemoteException
void setEOSflag(int f) throws java.rmi.RemoteException
f
- int the value this flag is going to be set to.
java.rmi.RemoteException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |