|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ifeth.sehr.client.api.driver.ConnectionDriver
org.ifeth.sehr.client.api.driver.ConnectionDriver_Template
This is a template for a connection driver to use by ConnectionDriver
Because all drivers have their own methods this is a wrapper class which
converts the methods of a driver to make them usable by the SEHR connection
manager.
The methods below don't contain any special code. If you are using your
favorite package for IP connections you have to implement the wrapping code.
Nested Class Summary |
Nested classes inherited from class org.ifeth.sehr.client.api.driver.ConnectionDriver |
ConnectionDriver.StatusNotification |
Field Summary | |
int |
TypeOfDriver
|
Fields inherited from class org.ifeth.sehr.client.api.driver.ConnectionDriver |
Log |
Constructor Summary | |
ConnectionDriver_Template()
|
Method Summary | |
int |
connect()
Connect to SEHR host |
ConnectionDriver.StatusNotification |
getNotification()
Get a status notifiation from driver (if any) |
void |
run()
Monitoring LAN connection... |
Methods inherited from class org.ifeth.sehr.client.api.driver.ConnectionDriver |
discardConnectionLayer, disconnect, getConnectionInfo, getConnectionLayer, getConnectionLayers, getConnections, getLastConTime, getNotifiation, getTotalConTime, getTypeOfDriver, initialize, newConnection, notifyListeners, registerConnectionListener, setRASEntry, setRASPassword, setRASUsername, start, stop, switchConnectionStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int TypeOfDriver
Constructor Detail |
public ConnectionDriver_Template()
Method Detail |
public void run()
run
in interface java.lang.Runnable
run
in class ConnectionDriver
public int connect()
connect
in class ConnectionDriver
public ConnectionDriver.StatusNotification getNotification()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |