Class Motorsteuerung
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--Motorsteuerung
- All Implemented Interfaces:
- JiniInterface, java.rmi.Remote, java.io.Serializable
- public class Motorsteuerung
- extends java.rmi.server.UnicastRemoteObject
- implements JiniInterface
Von der Klasse Motorsteuerung muessen die stubs und skeletons erzeugt werden
Sie beinhaltet die Methode controlMotor(), die vom Client ( Motorsteuerung ) aufgerufen wird
- Version:
- Java 1.3, JINI 1.1
- Author:
- S. Pollmann, O. Stradner, M. Thielicke, R. Begemann
- See Also:
Foerderband
,
Foerderbandsteuerung
,
JiniInterface
,
Motorsteuerung
, Serialized Form
Field Summary |
(package private) double |
a
Systemzeit vor dem erstenAufruf |
(package private) double |
b
Systemzeit nach dem letzten Aufruf |
(package private) java.lang.String |
position
String-Variabel, die die aktuelle Endposition beinhaltet |
Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf |
Fields inherited from class java.rmi.server.RemoteServer |
log, logname |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
java.util.Vector |
controlMotor(java.lang.String x)
ControlMotor() bekommt die Laufrichtung als Integer und gibt die erreichte Endposition und die Laufzeit als vektor zurueck |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
, clone, exportObject, exportObject, exportObject, exportObject, readObject, reexport, 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, writeObject |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
position
java.lang.String position
- String-Variabel, die die aktuelle Endposition beinhaltet
a
double a
- Systemzeit vor dem erstenAufruf
b
double b
- Systemzeit nach dem letzten Aufruf
Motorsteuerung
public Motorsteuerung()
throws java.rmi.RemoteException
controlMotor
public java.util.Vector controlMotor(java.lang.String x)
throws java.rmi.RemoteException
- Description copied from interface:
JiniInterface
- ControlMotor() bekommt die Laufrichtung als Integer und gibt die erreichte Endposition und die Laufzeit als vektor zurueck
- Specified by:
controlMotor
in interface JiniInterface
- Following copied from interface:
JiniInterface
- Throws:
java.rmi.RemoteException
- bei Auftreten von Netzwerkfehlern