org.objectweb.dream.channel
Class ReliableTCPChannelOutImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.channel.AbstractTCPChannelOutImpl
org.objectweb.dream.channel.BasicTCPChannelOutImpl
org.objectweb.dream.channel.ReliableTCPChannelOutImpl
- All Implemented Interfaces:
- AttributeController, BindingController, ChannelOutAttributeController, LifeCycleController, Loggable, MultiDestinationChannelOutAttributeController, Push
- public class ReliableTCPChannelOutImpl
- extends BasicTCPChannelOutImpl
Reliable implementation of a ChannelOut component, using TCP protocol and
InetSocketAddress
destination. The ChannelOut waits for an
ACK to arrive after the message has been sent.
Method Summary |
protected void |
receiveAck(Socket sock)
Waits for an ACK to arrive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReliableTCPChannelOutImpl
public ReliableTCPChannelOutImpl()
receiveAck
protected void receiveAck(Socket sock)
throws IOException
- Waits for an ACK to arrive.
- Overrides:
receiveAck
in class BasicTCPChannelOutImpl
- Parameters:
sock
- the socket to be used to wait for the ack.
- Throws:
IOException
- if an error occurs.
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.