Interface RemoteDrain
-
- All Superinterfaces:
java.rmi.Remote
- All Known Implementing Classes:
DefaultRemoteDrain
public interface RemoteDrain extends java.rmi.RemoteSpecial 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 java.lang.StringSERVICE_NAMEName of the RMI service registered.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddrain(int pid, DrainType type, java.lang.String message)Callback method to handle a line of std err/out output of an process.
-
-
-
Method Detail
-
drain
void drain(int pid, DrainType type, java.lang.String message) throws java.rmi.RemoteExceptionCallback 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:
java.rmi.RemoteException- on any technical communication error.
-
-