Class RemoteLoggingCenter

java.lang.Object
xal.service.pvlogger.RemoteLoggingCenter

public class RemoteLoggingCenter extends Object
Center for communicating with a remote PV logger
  • Constructor Details

    • RemoteLoggingCenter

      public RemoteLoggingCenter()
      Constructor
  • Method Details

    • takeAndPublishSnapshot

      public long takeAndPublishSnapshot(String groupID, String comment)
      take and publish a snapshot of the specified group
      Parameters:
      groupID - ID of the group to log
      comment - to apply to the machine snapshot
      Returns:
      machine snapshot ID or an error code less than 0 if an error occurs
    • hasLogger

      public boolean hasLogger(String groupID, int timeout)
      Determine whether a logger is available for the specified group.
      Parameters:
      groupID - group for which we are requesting logging
      timeout - time (in seconds) to wait for a response
    • hasLogger

      public boolean hasLogger(String groupID)
      Determine whether a logger is immediately available for the specified group.
      Parameters:
      groupID - group for which we are requesting logging