|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GNSInterface
This is the interface for Global Name Server(GNS).
Method Summary | |
---|---|
int |
getEOSflag()
Gets the end of simulation flag. |
RoutingInfo |
getRoutingInfoByAid(java.lang.String aid)
Gets the routing information for a message by the application-specified id. |
RoutingInfo |
getRoutingInfoByLid(int lid)
Gets the routing information for a message by the system-assigned LP id. |
java.util.Vector<LPConfigInfo> |
registerPE(java.lang.String pm)
Registers a new PE and returns the LP configuration information to this new PE. |
void |
setEOSflag(int f)
Sets the end of simulation flag. |
Method Detail |
---|
java.util.Vector<LPConfigInfo> registerPE(java.lang.String pm) throws java.rmi.RemoteException
pm
- String the name of the machine where the PE is running on.
java.rmi.RemoteException
RoutingInfo getRoutingInfoByAid(java.lang.String aid) throws java.rmi.RemoteException
aid
- String the application-specified id of the receiver of the message.
java.rmi.RemoteException
RoutingInfo getRoutingInfoByLid(int lid) throws java.rmi.RemoteException
lid
- int the LP id of the receiver of this message.
java.rmi.RemoteException
int getEOSflag() throws java.rmi.RemoteException
java.rmi.RemoteException
void setEOSflag(int f) throws java.rmi.RemoteException
f
- int the value of the flag to be set.
java.rmi.RemoteException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |