org.ifeth.sehr.client.api
Interface SEHRRemoteInterface

All Known Implementing Classes:
SEHRRemote, SessionHandler

public interface SEHRRemoteInterface

Interface object to implement in client objects.

Author:
hansjhaase

Field Summary
static int DBPORT
           
static java.lang.String DBUSER
          firebird: user/owner of database; default SYSDBA
static java.lang.String DBUSERPASS
          firebird: password of user/owner; default masterkey
static java.lang.String SEHRHOST
          the IP of the SEHR server to connect
static java.lang.String sehrkeyphrase
          If the SEHR server requires a security key you must type in here the SecKey from SEHR server
static int SEHRPORT
          the port of the SEHR server; default is 24100
 
Method Summary
 void bindSEHRServer(java.lang.String ip, int port)
          Prepare a LAN connection to a given SEHR host
 void bindSEHRServer(java.lang.String ip, int port, int type)
          Prepare a connection to a given SEHR host using an internal driver
 void bindSEHRServer(java.lang.String ip, int port, java.lang.String driver)
          Prepare a connection to a given SEHR host using given driver class
 boolean connect()
          Connect to server using defined ip and port and receive settings
 SEHRDataSource initSEHRDataSource()
          initialize and get SEHRDataSource object of the SEHR host connection
 

Field Detail

DBPORT

public static final int DBPORT
See Also:
Constant Field Values

SEHRHOST

public static final java.lang.String SEHRHOST
the IP of the SEHR server to connect

See Also:
Constant Field Values

SEHRPORT

public static final int SEHRPORT
the port of the SEHR server; default is 24100

See Also:
Constant Field Values

sehrkeyphrase

public static final java.lang.String sehrkeyphrase
If the SEHR server requires a security key you must type in here the SecKey from SEHR server

See Also:
Constant Field Values

DBUSER

public static final java.lang.String DBUSER
firebird: user/owner of database; default SYSDBA

See Also:
Constant Field Values

DBUSERPASS

public static final java.lang.String DBUSERPASS
firebird: password of user/owner; default masterkey

See Also:
Constant Field Values
Method Detail

bindSEHRServer

public void bindSEHRServer(java.lang.String ip,
                           int port)
Prepare a LAN connection to a given SEHR host


bindSEHRServer

public void bindSEHRServer(java.lang.String ip,
                           int port,
                           int type)
Prepare a connection to a given SEHR host using an internal driver


bindSEHRServer

public void bindSEHRServer(java.lang.String ip,
                           int port,
                           java.lang.String driver)
Prepare a connection to a given SEHR host using given driver class


connect

public boolean connect()
Connect to server using defined ip and port and receive settings


initSEHRDataSource

public SEHRDataSource initSEHRDataSource()
initialize and get SEHRDataSource object of the SEHR host connection