org.apache.geronimo.messaging.remotenode.network
Class ProtocolInDispatcher

java.lang.Object
  extended byorg.apache.geronimo.messaging.remotenode.network.ProtocolInDispatcher
All Implemented Interfaces:
MsgProducer

public class ProtocolInDispatcher
extends Object
implements MsgProducer

Version:
$Revision: 1.2 $ $Date: 2004/06/24 23:43:29 $

Constructor Summary
ProtocolInDispatcher(org.apache.geronimo.network.protocol.Protocol aProtocol, StreamManager aManager, PopSynchronization aSynchronization, ReplacerResolver aResolver)
          Pops Msgs from an InputStream.
 
Method Summary
 void setMsgProducerOut(MsgOutInterceptor aMsgOut)
          Sets a mean to this instance to push Msgs to the outside world.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolInDispatcher

public ProtocolInDispatcher(org.apache.geronimo.network.protocol.Protocol aProtocol,
                            StreamManager aManager,
                            PopSynchronization aSynchronization,
                            ReplacerResolver aResolver)
                     throws IOException
Pops Msgs from an InputStream. Msgs are read by a StreamInputStream using the provided StreamManager to resolve InputStream encoded in the raw InputStream.

Parameters:
aProtocol - InputStream to read from.
aManager - Used to resolve encoded InputStream.
aSynchronization - PopSynchronization applied by this instance.
aResolver - Used to resolve Objects read from anIn.
Method Detail

setMsgProducerOut

public void setMsgProducerOut(MsgOutInterceptor aMsgOut)
Description copied from interface: MsgProducer
Sets a mean to this instance to push Msgs to the outside world.

Specified by:
setMsgProducerOut in interface MsgProducer
Parameters:
aMsgOut - Used by this instance to push Msgs to other components.


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.