SecureBlackbox 2020 Qt Edition

Questions / Feedback?

BinaryData Event

Passes a received chunk of binary data to the application.

Syntax

class WebSocketServerBinaryDataEventParams {
public:
  qint64 ConnectionID();
  const QByteArray &Buffer();
  bool Last();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void BinaryData(WebSocketServerBinaryDataEventParams *e);
// Or, subclass WebSocketServer and override this emitter function. virtual int FireBinaryData(WebSocketServerBinaryDataEventParams *e) {...}

Remarks

The class fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Qt Edition - Version 20.0 [Build 8154]