|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.ext.util.SimpleLocationServer
An implementation of a Location Server
Constructor Summary | |
SimpleLocationServer()
|
|
SimpleLocationServer(java.lang.String url)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
protected java.lang.String |
normalizeURL(java.lang.String url)
|
protected void |
register()
|
void |
runActivity(Body body)
First register with the specified url Then wait for request |
UniversalBody |
searchObject(UniqueID id)
Return a reference to the remote body if available. |
void |
updateLocation(UniqueID i,
UniversalBody s)
Update the location for the mobile object s with id |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleLocationServer()
public SimpleLocationServer(java.lang.String url)
Method Detail |
public void updateLocation(UniqueID i, UniversalBody s)
updateLocation
in interface LocationServer
public UniversalBody searchObject(UniqueID id)
searchObject
in interface LocationServer
public void runActivity(Body body)
runActivity
in interface RunActive
protected java.lang.String normalizeURL(java.lang.String url)
protected void register()
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |