EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSecureServer.OnData

TElSecureServer     See also    


 

This event is used to pass the decoded data to the application.

 
 

Declaration

[C#]
    event TSBDataEvent OnData;
    delegate void TSBDataEvent(object Sender, byte[] Buffer);

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

[Pascal]
    property OnData : TSBDataEvent;
    TSBDataEvent = procedure (Sender: TObject; Buffer : Pointer; Size : LongInt) of object;

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

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

[DLL]
    __stdcall void SBServerSetOnData(HANDLE handle, OnDataProc code, long UserData);
    __stdcall (*OnDataProc)(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 decoded data ready to use by application. [ActiveX]Buffer is a safe array with elements of type unsigned char (byte).
  • Size - the length of the data block.
 
 

Description

    This event is fired by TElSecureServer when it has decoded the received data block and this data block is ready to be used by the application.
    If the application uses synchronous data exchange, it should write the data to some buffer and then synchronously read the data from that buffer.
    [ActiveX] Buffer contains a one-dimentional zero-based safe array with elements of type unsigned char (byte).

 
 

See also:     DataAvailable     OnReceive    

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