org.objectweb.dream.trash
Class TrashImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.trash.TrashImpl
- All Implemented Interfaces:
- ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, Push, TrashMonitoring, AttributeController, BindingController, LifeCycleController
public class TrashImpl
- extends AbstractComponent
- implements Push, TrashMonitoring
This component is a trash: received messages are deleted.
Methods inherited from class org.objectweb.dream.AbstractComponent |
beforeFirstStart, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, startFc, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageManagerItf
protected MessageManager messageManagerItf
TrashImpl
public TrashImpl()
push
public void push(Message message)
throws PushException
- Specified by:
push
in interface Push
- Throws:
PushException
- See Also:
Push.push(Message)
getNumberOfDeletedMessages
public int getNumberOfDeletedMessages()
- Description copied from interface:
TrashMonitoring
- Returns the number of deleted messages.
- Specified by:
getNumberOfDeletedMessages
in interface TrashMonitoring
- Returns:
- the number of deleted messages.
- See Also:
TrashMonitoring.getNumberOfDeletedMessages()
reset
public int reset()
- Description copied from interface:
TrashMonitoring
- Resets the number of deleted messages.
- Specified by:
reset
in interface TrashMonitoring
- Returns:
- the number of deleted messages before resetting the counter.
- See Also:
TrashMonitoring.reset()
bindFc
public void bindFc(String clientItfName,
Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
bindFc
in interface BindingController
- Overrides:
bindFc
in class AbstractComponent
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.