org.objectweb.dream.protocol.channel
Class TCPIPProtocolImpl.Session
java.lang.Object
org.objectweb.dream.protocol.channel.TCPIPProtocolImpl.Session
- All Implemented Interfaces:
- OutgoingPush
- Enclosing class:
- TCPIPProtocolImpl
protected class TCPIPProtocolImpl.Session
- extends Object
- implements OutgoingPush
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outgoingPush
public void outgoingPush(Message message)
throws IOPushException
- Description copied from interface:
OutgoingPush
- Gives an outgoing message to a protocol.
- Specified by:
outgoingPush
in interface OutgoingPush
- Parameters:
message
- the message to give to the component.
- Throws:
IOPushException
- if an exception occurs.- See Also:
OutgoingPush.outgoingPush(Message)
outgoingClose
public void outgoingClose(IncomingPush incomingPush)
throws IOException
- Description copied from interface:
OutgoingPush
- 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.
- Specified by:
outgoingClose
in interface OutgoingPush
- Parameters:
incomingPush
- the interface on which incoming messages of the closed
communication channel were received.
- Throws:
IOException
- the closing process failed.- See Also:
OutgoingPush.outgoingClose(IncomingPush)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.