Discuss this help topic in SecureBlackbox Forum

TElSAMLIdentityProvider.OnSend

TElSAMLIdentityProvider     See also     


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


This event is fired when the component has prepared some data to be sent to the server.

Declaration

[C#]
    event TSBSendEvent OnSend;
    delegate void TSBSendEvent(Object Sender, byte[] Buffer);

[VB.NET]
    Event OnSend As TSBSendEvent
    Delegate Sub TSBSendEvent(ByVal Sender As Object, ByVal Buffer As Byte())

[Pascal]
    event OnSend : TSBSendEvent delegate FOnSend;
    TSBSendEvent = procedure(Sender : TObject; Buffer : pointer; Size : Int32) of object;

[C++]
    void get_OnSend(TSBSendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSend(TSBSendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

[PHP]
    TSBSendEvent|callable|NULL get_OnSend()
    void set_OnSend(TSBSendEvent|callable|NULL $Value)
    callable TSBSendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

[Java]
    TSBSendEvent getOnSend();
    void setOnSend(TSBSendEvent Value);
    TSBSendEvent.Callback OnSend = new TSBSendEvent.Callback() {
        public void TSBSendEventCallback(TObject arg0, byte[] arg1) {
            //...
        }
    }

Parameters

  • Buffer - the buffer containing the data to be sent.
  • Size - the number of bytes in the buffer that should actually be read from it, and sent to the server.

Description

    TElSAMLIdentityProvider fires this event when it has prepared some data that needs to be sent to the server. The handler of this event should take care of the transport.

See also:     OnReceive    

Discuss this help topic in SecureBlackbox Forum