|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--cad.simcad.worldsimulator.objects.parts.GPS
GPS object for a SimAmbulance
Field Summary | |
static int |
PERIOD
Period used by a timer for checking GPSs |
static java.lang.String |
PORT
Port used by the GPS server |
static java.lang.String |
SERVER
Location of the GPS server localhost or xxx.xxx.xxx.xxx |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
GPS(EmergencyVehicule ev)
Creates a new instance of GPS |
|
GPS(SimObject so,
EmergencyVehicule ev)
Creates a new instance of GPS |
Method Summary | |
void |
emitSignal(GPSPosition po)
Emit a simulated GPS signal in the world |
GPSPosition |
getSignal()
Emit a simulated GPS signal in the world |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String SERVER
public static java.lang.String PORT
public static int PERIOD
Constructor Detail |
public GPS(EmergencyVehicule ev) throws java.rmi.RemoteException
public GPS(SimObject so, EmergencyVehicule ev) throws java.rmi.RemoteException
Method Detail |
public void emitSignal(GPSPosition po)
GPSSim
emitSignal
in interface GPSSim
po
- public GPSPosition getSignal()
GPSSim
getSignal
in interface GPSSim
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |