public class TradeEventClient extends BaseGrpcClient<Events.SubscribeResponse> implements ITradeEventClient
appKey, appSecret, channel, enableTls, host, port, retryPolicy, subObservers| Modifier | Constructor and Description |
|---|---|
|
TradeEventClient(String appKey,
String appSecret,
String host,
int port,
RetryPolicy retryPolicy,
boolean enableTls,
List<GrpcHandler> handlers) |
protected |
TradeEventClient(String appKey,
String appSecret,
String host,
int port,
RetryPolicy retryPolicy,
boolean enableTls,
List<GrpcHandler> handlers,
HandlerProxyFactory<Events.SubscribeResponse> handlerProxyFactory) |
| Modifier and Type | Method and Description |
|---|---|
ISubscription |
subscribe(SubscribeRequest request) |
buildChannel, close, shutdown, shutdownNowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, closepublic TradeEventClient(String appKey, String appSecret, String host, int port, RetryPolicy retryPolicy, boolean enableTls, List<GrpcHandler> handlers)
protected TradeEventClient(String appKey, String appSecret, String host, int port, RetryPolicy retryPolicy, boolean enableTls, List<GrpcHandler> handlers, HandlerProxyFactory<Events.SubscribeResponse> handlerProxyFactory)
public ISubscription subscribe(SubscribeRequest request)
subscribe in interface ITradeEventClientCopyright © 2025 Webull. All rights reserved.