Interface RemoteDrain

All Superinterfaces:
Remote
All Known Implementing Classes:
DefaultRemoteDrain

public interface RemoteDrain extends Remote
Special kind of Drain to communicate callback data from std out/err over RMI into a different JVM.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the RMI service registered.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drain(int pid, DrainType type, String message)
    Callback method to handle a line of std err/out output of an process.
  • Field Details

    • SERVICE_NAME

      static final String SERVICE_NAME
      Name of the RMI service registered.
  • Method Details

    • drain

      void drain(int pid, DrainType type, String message) throws RemoteException
      Callback method to handle a line of std err/out output of an process.
      Parameters:
      pid - the unique id of a process.
      type - the type of output we are talking about.
      message - the actual payload: one line of output.
      Throws:
      RemoteException - on any technical communication error.