EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSecureServer.OnSend

TElSecureServer     See also    


 

This event is used to write the encrypted data to the socket.

 
 

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]
    property OnSend : TSBSendEvent;
    TSBSendEvent = procedure (Sender: TObject; Buffer : Pointer; Size : LongInt) of object;

[VB6]
    Event IElSecureServerXEvents.OnSend(Buffer As Byte())

[ActiveX]
    HRESULT IElSecureServerXEvents.OnSend([in] VARIANT Buffer);

[DLL]
    __stdcall void SBServerSetOnSend(HANDLE handle, OnSendProc code, long UserData);
    __stdcall (*OnSendProc)(HANDLE handle, long UserData, HANDLE Reserved, LPVOID Buffer, DWORD Size);
 
 

Parameters

  • [DLL]handle - handle to the TElSecureServer object that was returned by Constructor
  • [DLL]Code - pointer to the callback function that is called to validate credentials
  • [DLL]UserData - application-defined data that is passed back to the callback function
  • Buffer - the block of encoded data that is to be written to the socket. [ActiveX] Buffer contains a one-dimentional zero-based safe array with elements of type unsigned char (byte).
  • Size - the length of the buffer in bytes.
 
 

Description

    This event is fired by TElSecureServer when it has encoded the data block and wants to write the encoded block to the socket.

 
 

See also:     SendData    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation