exchange.apexpro.connector.impl.WebsocketRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apexpro-connector-java Show documentation
Show all versions of apexpro-connector-java Show documentation
A lightweight library to ApeX-Protocol
package exchange.apexpro.connector.impl;
import exchange.apexpro.connector.SubscriptionErrorHandler;
import exchange.apexpro.connector.SubscriptionListener;
import exchange.apexpro.connector.impl.utils.Handler;
class WebsocketRequest {
WebsocketRequest(SubscriptionListener listener, SubscriptionErrorHandler errorHandler) {
this.updateCallback = listener;
this.errorHandler = errorHandler;
}
String name;
Handler connectionHandler;
Handler authHandler = null;
final SubscriptionListener updateCallback;
RestApiJsonParser jsonParser;
final SubscriptionErrorHandler errorHandler;
}