Subscriber

public class Subscriber

A Subscriber (see Session.declareSubscriber(String,SubMode,SubscriberCallback)).

Constructors

Subscriber

protected Subscriber(zn_sub_t sub)

Methods

pull

public void pull()

Pull data for the SubMode.Kind.ZN_PULL_MODE or SubMode.Kind.ZN_PERIODIC_PULL_MODE subscribtion. The pulled data will be provided by calling the DataHandler.handleData(String,java.nio.ByteBuffer,DataInfo) function provided to the Session.declareSubscriber(String,SubMode,DataHandler) function.

Throws:

undeclare

public void undeclare()

Undeclare the Subscriber.

Throws: