Interface IMonitorDelegator

All Known Subinterfaces:
IOptionsServer, IServer, IStreamingServer
All Known Implementing Classes:
MonitorDelegator, NtsServerImpl, OneShotServerImpl, RpcServer, Server

public interface IMonitorDelegator
Interface to handle the Monitor command.
  • Method Details

    • getServerProcesses

      Return a list of Perforce server processes active on the Perforce server. Will throw a request exception if monitors are not enabled on the target server.
      Returns:
      non-null but possibly-empty list of IServerProcess objects
      Throws:
      ConnectionException - if the Perforce server is unreachable or is not connected.
      RequestException - if the Perforce server encounters an error during its processing of the request
      AccessException - if the Perforce server denies access to the caller
    • getServerProcesses

      Return a list of Perforce server processes active on the Perforce server. Will throw a request exception if monitors are not enabled on the target server.
      Parameters:
      opts - GetServerProcessesOptions object describing optional parameters; if null, no options are set.
      Returns:
      list of server processes
      Throws:
      P4JavaException - if an error occurs processing this method and its parameters.