|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.AbstractComponent
org.objectweb.dream.channel.ChannelInOutImpl
public class ChannelInOutImpl
ChannelIn implementation.
Field Summary |
---|
Fields inherited from class org.objectweb.dream.AbstractComponent |
---|
bindingLogger, fcNeedAsyncStart, fcState, lifeCycleLogger, logger, weaveableC |
Fields inherited from interface org.objectweb.dream.Push |
---|
IN_PUSH_ITF_NAME, INCOMING_IN_PUSH_ITF_NAME, INCOMING_OUT_PUSH_ITF_NAME, OUT_PUSH_ITF_NAME, OUTGOING_IN_PUSH_ITF_NAME, OUTGOING_OUT_PUSH_ITF_NAME |
Fields inherited from interface org.objectweb.dream.channel.ChannelInExportId |
---|
ITF_NAME |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
---|
STARTED, STOPPED |
Constructor Summary | |
---|---|
ChannelInOutImpl()
Default constructor. |
Method Summary | |
---|---|
void |
bindFc(String clientItfName,
Object serverItf)
|
ExportIdentifier |
getExportIdentifier()
Returns the ExportIdentifier that identify the ChannelIn. |
String |
getFromChunkName()
Returns the value of the fromChunkName attribute. |
void |
incomingClosed(Object outgoingPush,
Exception exception)
Notifies the session, this interface belong, that the lower session accessible through the given interface has been unexpectedly closed. |
void |
incomingPush(Message message)
Gives an incoming message to a protocol. |
String[] |
listFc()
|
void |
push(Message message)
|
void |
setFromChunkName(String fromChunkName)
Sets the name of the chunk that should be added in every received messages. |
void |
startFc()
|
Methods inherited from class org.objectweb.dream.AbstractComponent |
---|
beforeFirstStart, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelInOutImpl()
Method Detail |
---|
public void push(Message message) throws PushException
push
in interface Push
PushException
Push.push(Message)
public void incomingPush(Message message) throws PushException
IncomingPush
incomingPush
in interface IncomingPush
message
- the message to give to the component.
PushException
- if an exception occurs.IncomingPush.incomingPush(Message)
public void incomingClosed(Object outgoingPush, Exception exception)
IncomingPush
incomingClosed
in interface IncomingPush
outgoingPush
- the interface provided by the closed session.exception
- the exception that forced the session to close. May be
null
.IncomingPush.incomingClosed(Object, Exception)
public ExportIdentifier getExportIdentifier()
ChannelInExportId
ExportIdentifier
that identify the ChannelIn.
getExportIdentifier
in interface ChannelInExportId
ExportIdentifier
that identify the ChannelIn.ChannelInExportId.getExportIdentifier()
public void startFc() throws IllegalLifeCycleException
startFc
in interface LifeCycleController
startFc
in class AbstractComponent
IllegalLifeCycleException
AbstractComponent.startFc()
public String getFromChunkName()
ChannelInAttributeController
fromChunkName
attribute.
getFromChunkName
in interface ChannelInAttributeController
fromChunkName
attribute.ChannelInAttributeController.getFromChunkName()
public void setFromChunkName(String fromChunkName)
ChannelInAttributeController
null
or equals to "null"
, no chunk will
be added.
setFromChunkName
in interface ChannelInAttributeController
fromChunkName
- the new value of the fromChunkName
attribute.ChannelInAttributeController.setFromChunkName(String)
public String[] listFc()
listFc
in interface BindingController
BindingController.listFc()
public void bindFc(String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
in interface BindingController
bindFc
in class AbstractComponent
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
BindingController.bindFc(String,
Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |