org.objectweb.dream.protocol.rpc
Class ProtocolImpl.StubSession
java.lang.Object
org.objectweb.dream.protocol.rpc.ProtocolImpl.StubSession
- All Implemented Interfaces:
- IncomingPush, Invoker
- Enclosing class:
- ProtocolImpl
protected class ProtocolImpl.StubSession
- extends Object
- implements Invoker, IncomingPush
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolImpl.StubSession
protected ProtocolImpl.StubSession()
invoke
public ReplyChunk invoke(InvocationChunk invocationChunk)
throws InvocationException
- Specified by:
invoke
in interface Invoker
- Throws:
InvocationException
incomingPush
public void incomingPush(Message message)
throws PushException
- Description copied from interface:
IncomingPush
- Gives an incoming message to a protocol.
- Specified by:
incomingPush
in interface IncomingPush
- Parameters:
message
- the message to give to the component.
- Throws:
PushException
- if an exception occurs.
incomingClosed
public void incomingClosed(Object outgoingPush,
Exception exception)
- Description copied from interface:
IncomingPush
- Notifies the session, this interface belong, that the lower session
accessible through the given interface has been unexpectedly closed.
- Specified by:
incomingClosed
in interface IncomingPush
- Parameters:
outgoingPush
- the interface provided by the closed session.exception
- the exception that forced the session to close. May be
null
.
getStub
protected Stub getStub()
throws Exception
- Throws:
Exception
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.