Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



This event creates temporary stream for large message preparation/unpreparation by transformers


    typedef void (STDCALLCONV *MCTemporaryStreamEvent)(void* UserData, void* Sender, MCStream* &Stream);
    public void setOnTempStream(MCTemporaryStreamEvent Value, void *UserData = NULL);
    public MCTemporaryStreamEvent getOnTempStream(void * *UserData);

    property OnTempStream: TMCTemporaryStreamEvent;
    TMCTemporaryStreamEvent = procedure (Sender :TObject; var Stream : TStream) of object;

Not available

    public MCTemporaryStreamEvent OnTempStream;
    public delegate void MCTemporaryStreamEvent(object Sender, ref System.IO.Stream OutStream);

    Public Event OnTempStream As MCTemporaryStreamEvent
    Public Delegate Sub MCTemporaryStreamEvent(ByVal Sender As Object, ByRef OutStream as System.IO.Stream)

    public class MCTempStreamEvent {
        public MCRouter getSender();
        public MCStream getStream();
        public void setStream(MCStream value);
    public abstract interface MCTempStreamListener {
        public void handleOnTempStream(MCTempStreamEvent e);
    public void removeTempStreamListener();
    public void addTempStreamListener(MCTempStreamListener l);

[Java ME]
    not available

    not available


  • Stream - the stream to use in transformation.


This event is fired when one of transformer classes, linked to BaseTransport needs to perform transforming of large data block. Your code can allocate a temporary stream where temporary data will be stored. This stream will be closed by the transformer class.

Discuss this help topic in MsgConnect Forum