vc.corba.server
Class ClientConnection

java.lang.Object
  |
  +--vc.corba.server.ClientConnection

public class ClientConnection
extends java.lang.Object

ClientConnection represents a connection between the the VersionControl server and a client. Here the connection is a logically represented using the connection id, user information etc.


Field Summary
 java.lang.String clientIp
          IP Address of the machine from where the VersionControl client is connected to the server
 java.lang.String connectionID
          connection id to identify each connection/client uniquely
 java.lang.String password
          Password of the user who mede this connection
 ProjectDBManagerCB projectDBManagerCallBack
          IDL callback interface ProjectDBManagerCB to notify all the clients about the changes in file and project states, so that all the clients will be in a synchronized state
 java.lang.String userID
          User id of the user who mede this connection
 
Constructor Summary
ClientConnection(java.lang.String userID, java.lang.String password, java.lang.String clientIp, ProjectDBManagerCB projectDBManagerCallBack)
          Constructor which creates the connection object out of the parameters passed to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionID

public java.lang.String connectionID
connection id to identify each connection/client uniquely

userID

public java.lang.String userID
User id of the user who mede this connection

password

public java.lang.String password
Password of the user who mede this connection

clientIp

public java.lang.String clientIp
IP Address of the machine from where the VersionControl client is connected to the server

projectDBManagerCallBack

public ProjectDBManagerCB projectDBManagerCallBack
IDL callback interface ProjectDBManagerCB to notify all the clients about the changes in file and project states, so that all the clients will be in a synchronized state
Constructor Detail

ClientConnection

public ClientConnection(java.lang.String userID,
                        java.lang.String password,
                        java.lang.String clientIp,
                        ProjectDBManagerCB projectDBManagerCallBack)
Constructor which creates the connection object out of the parameters passed to it.
Parameters:
userID - to initialize the field userID
password - to initialize the field password
clientIp - to initialize the field clientIp
projectDBManagerCallBack - to initialize the field projectDBManagerCallBack