org.objectweb.dream.protocol
Interface IncomingPush

All Known Implementing Classes:
BufferedMessagePassingProtocolImpl.Session, BusProtocolImpl.Session, ChannelInOutImpl, FragmentationProtocolImpl.Session, ProtocolImpl.Session, ProtocolImpl.SkeletonChannel.Session, ProtocolImpl.StubSession, SerializatorMessagePassingProtocolImpl.Session

public interface IncomingPush

Push interface on which incoming messages are passed to a protocol. Incoming messages are messages going up the protocol stack.

See Also:
OutgoingPush, Push

Method Summary
 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.
 

Method Detail

incomingPush

void incomingPush(Message message)
                  throws PushException
Gives an incoming message to a protocol.

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

incomingClosed

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.

Parameters:
outgoingPush - the interface provided by the closed session.
exception - the exception that forced the session to close. May be null.


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