org.apache.geronimo.messaging.remotenode.network
Class ProtocolOutInterceptor
java.lang.Object
org.apache.geronimo.messaging.remotenode.network.ProtocolOutInterceptor
- All Implemented Interfaces:
- MsgOutInterceptor
- public class ProtocolOutInterceptor
- extends Object
- implements MsgOutInterceptor
- Version:
- $Revision: 1.3 $ $Date: 2004/06/24 23:43:29 $
Method Summary |
void |
push(Msg aMsg)
Pushes a Msg. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolOutInterceptor
public ProtocolOutInterceptor(org.apache.geronimo.network.protocol.Protocol aProtocol,
StreamManager aManager,
PushSynchronization aSerialization,
ReplacerResolver aResolver)
throws IOException
- Pushes Msgs to a Protocol. Msgs are written by a StreamOutputStream
using the provided StreamManager to encode InputStream in the
raw OutputStream.
- Parameters:
aProtocol
- Protocol to write to.aManager
- Used to encode InputStream.aSerialization
- PushSynchronization to be applied when pushing
Msgs.aResolver
- Used to replace Objects to be written to anOut.
push
public void push(Msg aMsg)
- Description copied from interface:
MsgOutInterceptor
- Pushes a Msg.
- Specified by:
push
in interface MsgOutInterceptor
- Parameters:
aMsg
- Msg to be pushed.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.