twcsckernel.serverKernel.impl
Class UserImpl

java.lang.Object
  extended by twcsckernel.serverKernel.impl.UserImpl

public class UserImpl
extends java.lang.Object

Implementacja interfejsu użytkownika.

Author:
VMD Group

Constructor Summary
UserImpl(UserData myself, ServerGlobalState globalState, RmiManager rmiMan, java.lang.String userHost)
           
 
Method Summary
 byte[] downloadClientPlugin(java.lang.String clientPackagePath)
           
 long getActivityTimeout()
           
 UserData getFullUserData()
           
 RemoteAgent getRemotePluginAgent(java.lang.String clientPackagePath, RemoteAgent clientCallback)
           
 long getTimeStamp()
           
 RemoteFileSystem getUserFileSystem()
           
 java.lang.String getUserLogin()
           
 java.lang.String getUserRootPath()
           
 java.lang.String getUserType()
           
 void kickUser()
          Metoda lokalnego wylogowania użytkownika.
 PluginDescriptor[] listClientPlugins()
           
 void logout()
           
 void ping()
           
 void setFsChangeListener(FsChangeListener fsChangeListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserImpl

public UserImpl(UserData myself,
                ServerGlobalState globalState,
                RmiManager rmiMan,
                java.lang.String userHost)
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

listClientPlugins

public PluginDescriptor[] listClientPlugins()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

downloadClientPlugin

public byte[] downloadClientPlugin(java.lang.String clientPackagePath)
                            throws java.rmi.RemoteException,
                                   java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException

getRemotePluginAgent

public RemoteAgent getRemotePluginAgent(java.lang.String clientPackagePath,
                                        RemoteAgent clientCallback)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

logout

public void logout()
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getUserFileSystem

public RemoteFileSystem getUserFileSystem()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setFsChangeListener

public void setFsChangeListener(FsChangeListener fsChangeListener)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

ping

public void ping()
          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getActivityTimeout

public long getActivityTimeout()
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

kickUser

public void kickUser()
Metoda lokalnego wylogowania użytkownika.


getUserLogin

public java.lang.String getUserLogin()
Returns:
- login użytkownika

getTimeStamp

public long getTimeStamp()
Returns:
- wartość znacznika czasowego ostatniej operacji jakiej dokonal użytkownik (System.currentTimeMilis())

getUserRootPath

public java.lang.String getUserRootPath()
Returns:
- ścieżka root użytkownika

getUserType

public java.lang.String getUserType()
Returns:
- typ użytkownika

getFullUserData

public UserData getFullUserData()
Returns:
- pełne dane użytkownika


Copyright © 2005-2006 CS@PUT. All Rights Reserved.