Show TOC

Connecting to a SubscriberLocate this document in the navigation structure

Create and connect to a new subscriber.

Procedure

  1. Create a subscriber:
    NetEspSubscriberOptions options = new NetEspSubscriberOptions();
    options.set_mode(NetEspSubscriberOptions.NET_ESP_ACCESS_MODE_T.NET_CALLBACK_ACCESS);
    NetEspSubscriber subscriber = new NetEspSubscriber(options, error);
    
  2. Connect to the subscriber:
    Subscriber.connect(error);