org.objectweb.dream.serializator
Class PushPushSerializatorImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.serializator.PushPushSerializatorImpl
- All Implemented Interfaces:
- ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, Push, PushPushSerializatorAttributeController, AttributeController, BindingController, LifeCycleController
public class PushPushSerializatorImpl
- extends AbstractComponent
- implements PushPushSerializatorAttributeController, Push
This component serializes messages it receives on its input and send them on
its output. Serialized messages are messages that contain a
ByteArrayChunk
chunk. This chunk is registered under its default
name.
It is possible to specify the name of a chunk that must not been serialized
(it is added into the outgoing message).
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 |
serializatorItf
protected Serializator serializatorItf
messageManagerItf
protected MessageManager messageManagerItf
outPushItf
protected Push outPushItf
toBeRemovedChunkName
protected String toBeRemovedChunkName
PushPushSerializatorImpl
public PushPushSerializatorImpl()
push
public void push(Message message)
throws PushException
- Specified by:
push
in interface Push
- Throws:
PushException
- See Also:
Push.push(Message)
getToBeRemovedChunkName
public String getToBeRemovedChunkName()
- Description copied from interface:
PushPushSerializatorAttributeController
- Returns the name of the chunk that is not serialized. This chunk is simply
added into the outgoing message.
- Specified by:
getToBeRemovedChunkName
in interface PushPushSerializatorAttributeController
- Returns:
- the name of the chunk that is not serialized.
- See Also:
PushPushSerializatorAttributeController.getToBeRemovedChunkName()
setToBeRemovedChunkName
public void setToBeRemovedChunkName(String toBeRemovedChunkName)
- Description copied from interface:
PushPushSerializatorAttributeController
- Returns the name of the chunk that must not been serialized. This chunk
will simply be added into the outgoing message.
- Specified by:
setToBeRemovedChunkName
in interface PushPushSerializatorAttributeController
- Parameters:
toBeRemovedChunkName
- the name of the chunk that must not been
serialized.- See Also:
PushPushSerializatorAttributeController.setToBeRemovedChunkName(String)
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.