|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.ext.util.SimpleLocationServer
public class 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 |
void |
updateLocation(UniqueID i,
UniversalBody s,
int version)
|
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
body
- the body of the active object being startedprotected java.lang.String normalizeURL(java.lang.String url)
protected void register()
public static void main(java.lang.String[] args)
public void updateLocation(UniqueID i, UniversalBody s, int version)
updateLocation
in interface LocationServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |