org.objectweb.dream.channel
Class GenericPushChannelOutImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.channel.GenericPushChannelOutImpl
- All Implemented Interfaces:
- BindingController, LifeCycleController, Loggable, Push
- public class GenericPushChannelOutImpl
- extends AbstractComponent
- implements Push
Generic Push ChannelOut. The push
method
retreive a socket using the bound SocketManager
interface. it send
the message using the bound MessageCodec
interface. Then if the
"wait-ack-opt"
client interface is bound, it use it to wait an
acknowledgment from the ChannelIn. Finaly the socket is released and the
message is deleted.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAIT_ACK_OPT_ITF_NAME
public static final String WAIT_ACK_OPT_ITF_NAME
- The name of the optional client interface used by this coponent to wait for
an acknowlegdment
- See Also:
- Constant Field Values
messageManagerItf
protected MessageManager messageManagerItf
messageCodecItf
protected MessageCodec messageCodecItf
socketManagerItf
protected SocketManager socketManagerItf
waitAckOptItf
protected WaitByte waitAckOptItf
GenericPushChannelOutImpl
public GenericPushChannelOutImpl()
push
public void push(Message message,
Map context)
throws PushException
- Specified by:
push
in interface Push
- Throws:
PushException
- See Also:
Push.push(Message, Map)
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
bindFc
public void bindFc(String clientItfName,
Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
bindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
unbindFc
public void unbindFc(String clientItfName)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
unbindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.unbindFc(String)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.