org.apache.geronimo.messaging.interceptors
Class StreamInInterceptor
java.lang.Object
org.apache.geronimo.messaging.interceptors.StreamInInterceptor
- All Implemented Interfaces:
- MsgInInterceptor
- public class StreamInInterceptor
- extends Object
- implements MsgInInterceptor
Allows popping Msgs from an InputStream.
- Version:
- $Revision: 1.1 $ $Date: 2004/05/11 12:06:40 $
Method Summary |
Msg |
pop()
Pops a Msg from the underlying Msg source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamInInterceptor
public StreamInInterceptor(InputStream anIn,
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 InputStreams encoded in the
raw InputStream.
- Parameters:
anIn
- InputStream to read from.aManager
- Used to resolve encoded InputStreams.aSynchronization
- PopSynchronization applied by this instance.aResolver
- Used to resolve Objects read from anIn.
- Throws:
IOException
- Indicates an I/O error.
pop
public Msg pop()
- Description copied from interface:
MsgInInterceptor
- Pops a Msg from the underlying Msg source.
- Specified by:
pop
in interface MsgInInterceptor
- Returns:
- Msg.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.