SecureBlackbox 2020 Android Edition

Questions / Feedback?

BinaryData Event

Passes a received chunk of binary data to the application.

Syntax

public class DefaultWebsocketserverEventListener implements WebsocketserverEventListener {
  ...
  public void binaryData(WebsocketserverBinaryDataEvent e) {}
  ...
}

public class WebsocketserverBinaryDataEvent {
  public long connectionID;
  public byte[] buffer;
  public boolean last;
}

Remarks

The component 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 Android Edition - Version 20.0 [Build 8156]