- public native int nativeAcceptSubscription(Consumer consumer, boolean accepted);
- public native int nativeSelectTopic(String consumerId, String topicName);
- public native int nativeUnselectTopic(String consumerId, String topicName);
- public native TopicsList nativeGetConsumerTopics(String consumerId);
-}
\ No newline at end of file
+ private native void nativeAcceptSubscription(String consumerId,
+ boolean accepted) throws NSException;
+
+ private native void nativeSetConsumerTopic(String consumerId,
+ String topicName) throws NSException;
+
+ private native void nativeUnsetConsumerTopic(String consumerId,
+ String topicName) throws NSException;
+
+ private native TopicsList nativeGetConsumerTopicList(String consumerId)
+ throws NSException;
+}