sharpster.client.daemoncommunication
Class DaemonCommunication

java.lang.Object
  |
  +--sharpster.client.daemoncommunication.DaemonCommunication

public class DaemonCommunication
extends java.lang.Object

Class responsible for forwarding commands from the client to the daemon.


Constructor Summary
DaemonCommunication()
          Constructs a daemon communication object
 
Method Summary
 sharpster.common.ResponseCollection groupCommand(sharpster.common.GroupCommand command)
          Forwards a groupCommand call to the daemon.
 sharpster.common.ResponseCollection localDoCVS(java.lang.String command)
          Forwards a localDoCVS call to the daemon.
 sharpster.common.ResponseCollection remoteAddFiles(sharpster.common.FileCollection files, java.lang.String fromUser)
          Forwards a remoteAddFiles call to the daemon.
 sharpster.common.ResponseCollection remoteCheckoutFiles(sharpster.common.FileCollection files, java.lang.String fromUser, java.lang.String role)
          Forwards a remoteCheckoutFiles call to the daemon.
 sharpster.common.ResponseCollection remoteCommitFiles(sharpster.common.FileCollection files, java.lang.String fromUser, java.lang.String role)
          Forwards a remoteCommitFiles call to the daemon.
 sharpster.common.ResponseCollection remoteRemoveFiles(sharpster.common.FileCollection files, java.lang.String fromUser)
          Forwards a remoteRemoveFiles call to the daemon.
 sharpster.common.ResponseCollection remoteUpdateFiles(sharpster.common.FileCollection files, java.lang.String fromUser)
          Forwards a remoteUpdateFiles call to the daemon.
 sharpster.common.ResponseCollection shareFiles(sharpster.common.FileCollection files)
          Forwards a shareFiles call to the daemon.
 sharpster.common.ResponseCollection synchronizeCVS()
          Forwards a viewFileAccess call to the daemon.
 sharpster.common.ResponseCollection unShareFiles(sharpster.common.FileCollection files)
          Forwards a unshareFiles call to the daemon.
 sharpster.common.ResponseCollection viewFileAccess()
          Forwards a viewFileAccess call to the daemon.
 sharpster.common.ResponseCollection viewFileSharing()
          Forwards a viewFileSharing call to the daemon.
 sharpster.common.ResponseCollection viewUsers()
          Forwards a viewUsers call to the daemon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaemonCommunication

public DaemonCommunication()
Constructs a daemon communication object

Method Detail

shareFiles

public sharpster.common.ResponseCollection shareFiles(sharpster.common.FileCollection files)
Forwards a shareFiles call to the daemon.


unShareFiles

public sharpster.common.ResponseCollection unShareFiles(sharpster.common.FileCollection files)
Forwards a unshareFiles call to the daemon.


localDoCVS

public sharpster.common.ResponseCollection localDoCVS(java.lang.String command)
Forwards a localDoCVS call to the daemon.


remoteCheckoutFiles

public sharpster.common.ResponseCollection remoteCheckoutFiles(sharpster.common.FileCollection files,
                                                               java.lang.String fromUser,
                                                               java.lang.String role)
Forwards a remoteCheckoutFiles call to the daemon.


remoteUpdateFiles

public sharpster.common.ResponseCollection remoteUpdateFiles(sharpster.common.FileCollection files,
                                                             java.lang.String fromUser)
Forwards a remoteUpdateFiles call to the daemon.


remoteCommitFiles

public sharpster.common.ResponseCollection remoteCommitFiles(sharpster.common.FileCollection files,
                                                             java.lang.String fromUser,
                                                             java.lang.String role)
Forwards a remoteCommitFiles call to the daemon.


groupCommand

public sharpster.common.ResponseCollection groupCommand(sharpster.common.GroupCommand command)
Forwards a groupCommand call to the daemon.


remoteAddFiles

public sharpster.common.ResponseCollection remoteAddFiles(sharpster.common.FileCollection files,
                                                          java.lang.String fromUser)
Forwards a remoteAddFiles call to the daemon.


remoteRemoveFiles

public sharpster.common.ResponseCollection remoteRemoveFiles(sharpster.common.FileCollection files,
                                                             java.lang.String fromUser)
Forwards a remoteRemoveFiles call to the daemon.


viewFileSharing

public sharpster.common.ResponseCollection viewFileSharing()
Forwards a viewFileSharing call to the daemon.


viewUsers

public sharpster.common.ResponseCollection viewUsers()
Forwards a viewUsers call to the daemon.


viewFileAccess

public sharpster.common.ResponseCollection viewFileAccess()
Forwards a viewFileAccess call to the daemon.


synchronizeCVS

public sharpster.common.ResponseCollection synchronizeCVS()
Forwards a viewFileAccess call to the daemon.