use of io.socket.emitter.Emitter in project Android-SDK by Backendless.
the class RTClientSocketIO method subOff.
private Emitter subOff(String subscriptionId) {
Map<String, String> request = new HashMap<>();
request.put("id", subscriptionId);
final Emitter emitter = connectionManager.get().emit("SUB_OFF", serialize(request));
logger.info("subOff called");
return emitter;
}
use of io.socket.emitter.Emitter in project Android-SDK by Backendless.
the class RTClientSocketIO method metReq.
private Emitter metReq(RTMethodRequest methodRequest) {
final Emitter emitter = connectionManager.get().emit("MET_REQ", serialize(methodRequest.toArgs()));
logger.info("subOn called");
return emitter;
}
use of io.socket.emitter.Emitter in project Android-SDK by Backendless.
the class RTClientSocketIO method subOn.
private Emitter subOn(RTSubscription subscription) {
final Emitter emitter = connectionManager.get().emit("SUB_ON", serialize(subscription.toArgs()));
logger.info("subOn called");
return emitter;
}
Aggregations