|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Callback
The Callback interface defines a service provider to a process through which the process may issue notification of state change.
Method Summary | |
---|---|
void |
error(Throwable throwable,
boolean fatal)
Method invoked by a process to signal that the process has encounter an error condition. |
void |
info(String message)
Method invoked by a process to send a arbitary message to the the callback handler. |
void |
started(PID pid,
Component handler)
Method invoked by a process to signal that the process has started. |
void |
stopped()
Method invoked by a process to signal its imminent termination. |
Method Detail |
---|
void started(PID pid, Component handler) throws RemoteException
pid
- the process identifierhandler
- optional handler reference
RemoteException
- if a remote error occursvoid error(Throwable throwable, boolean fatal) throws RemoteException
throwable
- the error conditionfatal
- if true the process is requesting termination
RemoteException
- if a remote error occursvoid info(String message) throws RemoteException
message
- the message
RemoteException
- if a remote error occursvoid stopped() throws RemoteException
RemoteException
- if a remote error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |