Discuss this help topic in SecureBlackbox Forum

TElPGPStream.OnTemporaryStream

TElPGPStream     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when TElPGPStream needs a stream for temporary data storing.

Declaration

[C#]
    event TSBPGPTemporaryStreamEvent OnTemporaryStream;
    delegate void TSBPGPTemporaryStreamEvent(Object Sender, ref System.IO.Stream Stream, ref bool FreeOnFinish);

[VB.NET]
    Event OnTemporaryStream As TSBPGPTemporaryStreamEvent
    Delegate Sub TSBPGPTemporaryStreamEvent(ByVal Sender As Object, ByRef Stream As System.IO.Stream, ByRef FreeOnFinish As Boolean)

[Pascal]
    property OnTemporaryStream : TSBPGPTemporaryStreamEvent;
    TSBPGPTemporaryStreamEvent = procedure(Sender: TObject; var Stream: TStream; var FreeOnFinish: boolean) of object;

[C++]
    void get_OnTemporaryStream(TSBPGPTemporaryStreamEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTemporaryStream(TSBPGPTemporaryStreamEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPTemporaryStreamEvent)(void * _ObjectData, TObjectHandle Sender, TStreamHandle &Stream, int8_t &FreeOnFinish);

[PHP]
    TSBPGPTemporaryStreamEvent|callable|NULL get_OnTemporaryStream()
    void set_OnTemporaryStream(TSBPGPTemporaryStreamEvent|callable|NULL $Value)
    callable TSBPGPTemporaryStreamEvent(TObject $Sender, TStream &$Stream, bool &$FreeOnFinish)

[Java]
    TSBPGPTemporaryStreamEvent getOnTemporaryStream();
    void setOnTemporaryStream(TSBPGPTemporaryStreamEvent Value);
    TSBPGPTemporaryStreamEvent.Callback OnTemporaryStream = new TSBPGPTemporaryStreamEvent.Callback() {
        public void TSBPGPTemporaryStreamEventCallback(TObject arg0, TElPGPCreateStreamEventParams arg1) {
            //...
        }
    }

Parameters

  • Stream - temporary stream.
  • FreeOnFinish - specifies if the stream must be destroyed upon completion.

Description

    This event is fired by TElPGPStream when it needs a temporary stream for its operations. TElPGPStream will destroy this stream only if FreeOnFinish parameter value is true.

See also:     OnRead     OnWrite     OnFinish    

Discuss this help topic in SecureBlackbox Forum