Create and connect to a new subscriber.
NetEspSubscriberOptions options = new NetEspSubscriberOptions(); options.set_mode(NetEspSubscriberOptions.NET_ESP_ACCESS_MODE_T.NET_CALLBACK_ACCESS); NetEspSubscriber subscriber = new NetEspSubscriber(options, error);
Subscriber.connect(error);