org.tentackle.appworx.rmi
Class AppRemoteDbConnectionImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.tentackle.db.rmi.RemoteDbConnectionImpl
org.tentackle.appworx.rmi.AppRemoteDbConnectionImpl
- All Implemented Interfaces:
- Serializable, Remote, AppRemoteDbConnection, RemoteDbConnection
public class AppRemoteDbConnectionImpl
- extends RemoteDbConnectionImpl
- implements AppRemoteDbConnection
Server side connection implementation.
- Author:
- harald
- See Also:
- Serialized Form
AppRemoteDbConnectionImpl
public AppRemoteDbConnectionImpl(DbServer server,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
throws RemoteException
- Creates a connection.
- Parameters:
server - the DbServerport - the tcp-port, 0 = system defaultcsf - the client socket factory, null = system defaultssf - the server socket factory, null = system default
- Throws:
RemoteException- See Also:
DbServer
login
public AppRemoteDbSession login(UserInfo clientInfo)
throws RemoteException
- Description copied from interface:
RemoteDbConnection
- Login to remote RMI-server.
- Specified by:
login in interface RemoteDbConnection- Overrides:
login in class RemoteDbConnectionImpl
- Parameters:
clientInfo - the user information
- Returns:
- the session
- Throws:
RemoteException - if some error, for example wrong passord
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de