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

java.lang.Object
  extended by org.objectweb.dream.protocol.rpc.ProtocolImpl.SkeletonChannel
All Implemented Interfaces:
ChannelFactory
Enclosing class:
ProtocolImpl

protected class ProtocolImpl.SkeletonChannel
extends Object
implements ChannelFactory


Nested Class Summary
protected  class ProtocolImpl.SkeletonChannel.Session
           
 
Field Summary
 
Fields inherited from interface org.objectweb.dream.protocol.channel.ChannelFactory
CHANEL_ITF_NAME, EXPORTED_CHANNEL_ITF_NAME
 
Constructor Summary
ProtocolImpl.SkeletonChannel(Skeleton itf)
           
 
Method Summary
 IncomingPush instantiate(OutgoingPush toClientPush)
          Notify the protocol who exports this interface, that a client is opening a new communication channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolImpl.SkeletonChannel

public ProtocolImpl.SkeletonChannel(Skeleton itf)
Method Detail

instantiate

public IncomingPush instantiate(OutgoingPush toClientPush)
                         throws BindException
Description copied from interface: ChannelFactory
Notify the protocol who exports this interface, that a client is opening a new communication channel. The toClientPush interface can be used to send messages to the client. This method returns the interface on which messages sent by the client will be passed.

Specified by:
instantiate in interface ChannelFactory
Parameters:
toClientPush - the interface that can be used to send messages to the client through the newly created communication channel.
Returns:
the interface on which messages sent by the client will be passed.
Throws:
BindException - if the bind process fails.
See Also:
ChannelFactory.instantiate(OutgoingPush)


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