|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
de.qfs.lib.logrmi.RemoteLogLevelListenerImplBase
If a class wants to implement the RemoteLogLevelListener
interface it should do so by extending this
abstract class instead of UnicastRemoteObject
. That way it doesn't have to care about the RMI stubs,
since they are part of the de.qfs.lib.logrmi package. Otherwise it will
have to make the stubs available itself.
Field Summary |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
RemoteLogLevelListenerImplBase()
Create a new RemoteLogLevelListenerImplBase. |
Method Summary | |
abstract void |
classAdded(LogLevelEvent event)
Notify the listener that a Logger for a formerly unknown class has requested its log level, adding the class to the log level tree. |
abstract void |
disconnect()
End the connection with the RemoteLogLevelListener. |
abstract void |
levelChanged(LogLevelEvent event)
Notify the listener that a log level has been changed. |
abstract void |
levelRemoved(LogLevelEvent event)
Notify the listener that a log level has been unset. |
abstract void |
setLogLevelCallback(RemoteLogLevelCallback callback)
Sets the RemoteLogLevelCallback for the RemoteLogLevelListener. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RemoteLogLevelListenerImplBase() throws java.rmi.RemoteException
java.rmi.RemoteException
- If something RMI specific goes wrong.Method Detail |
public abstract void classAdded(LogLevelEvent event) throws java.rmi.RemoteException
classAdded
in interface RemoteLogLevelListener
event
- The LogLevelEvent holding the details.
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void levelChanged(LogLevelEvent event) throws java.rmi.RemoteException
levelChanged
in interface RemoteLogLevelListener
event
- The LogLevelEvent holding the details.
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void levelRemoved(LogLevelEvent event) throws java.rmi.RemoteException
levelRemoved
in interface RemoteLogLevelListener
event
- The LogLevelEvent holding the details.
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void setLogLevelCallback(RemoteLogLevelCallback callback) throws java.rmi.RemoteException
setLogLevelCallback
in interface RemoteLogLevelListener
callback
- The LogLevelCallback to use to change the
log levels.
java.rmi.RemoteException
- If something RMI specific goes wrong.public abstract void disconnect() throws java.rmi.RemoteException
disconnect
in interface RemoteLogLevelListener
java.rmi.RemoteException
- If something RMI specific goes wrong.
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |