org.objectweb.dream.protocol.rpc
Class ProtocolImpl.StubSession

java.lang.Object
  extended by org.objectweb.dream.protocol.rpc.ProtocolImpl.StubSession
All Implemented Interfaces:
IncomingPush, Invoker
Enclosing class:
ProtocolImpl

protected class ProtocolImpl.StubSession
extends Object
implements Invoker, IncomingPush


Nested Class Summary
protected  class ProtocolImpl.StubSession.InvocationSemaphore
           
 
Constructor Summary
protected ProtocolImpl.StubSession()
           
 
Method Summary
protected  Stub getStub()
           
 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.
 ReplyChunk invoke(InvocationChunk invocationChunk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolImpl.StubSession

protected ProtocolImpl.StubSession()
Method Detail

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.