org.objectweb.dream.protocol
Interface OutgoingPush

All Known Implementing Classes:
TCPIPProtocolImpl.Session

public interface OutgoingPush

Push interface on which outgoing messages are passed to a protocol. Outgoing messages are messages going down the protocol stack.

See Also:
IncomingPush, Push

Method Summary
 void outgoingClose(IncomingPush incomingPush)
          Closes the communication channel.
 void outgoingPush(Message message)
          Gives an outgoing message to a protocol.
 

Method Detail

outgoingPush

void outgoingPush(Message message)
                  throws IOPushException
Gives an outgoing message to a protocol.

Parameters:
message - the message to give to the component.
Throws:
IOPushException - if an exception occurs.

outgoingClose

void outgoingClose(IncomingPush incomingPush)
                   throws IOException
Closes the communication channel. The implementation of this method must not call the IncomingPush.incomingClosed(java.lang.Object, java.lang.Exception) method, since this latter is only used to inform a upper session that a lower session has been closed unexpectedly.

Parameters:
incomingPush - the interface on which incoming messages of the closed communication channel were received.
Throws:
IOException - the closing process failed.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.