Package io.deephaven.web.client.api
Class CoreClient
java.lang.Object
io.deephaven.web.client.api.event.HasEventHandling
io.deephaven.web.client.api.CoreClient
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.web.client.api.event.HasEventHandling
HasEventHandling.EventPair<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Deprecated.static final String
static final String
static final String
static final String
static final String
Fields inherited from class io.deephaven.web.client.api.event.HasEventHandling
INTERNAL_EVENT_RELEASED
-
Constructor Summary
ConstructorsConstructorDescriptionCoreClient
(String serverUrl, @TsTypeRef(ConnectOptions.class) Object connectOptions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
elemental2.promise.Promise<IdeConnection>
elemental2.promise.Promise<String[][]>
elemental2.promise.Promise<String[][]>
elemental2.promise.Promise<Void>
login
(@TsTypeRef(LoginCredentials.class) jsinterop.base.JsPropertyMap<Object> credentials) elemental2.promise.Promise<Void>
onConnected
(Double timeoutInMillis) elemental2.promise.Promise<Void>
relogin
(@TsTypeRef(JsRefreshToken.class) Object token) elemental2.promise.Promise<CoreClient>
running()
Methods inherited from class io.deephaven.web.client.api.event.HasEventHandling
addEventListener, addEventListenerOneShot, addEventListenerOneShot, failureHandled, fireCriticalEvent, fireCriticalEvent, fireEvent, fireEvent, fireEvent, hasListener, hasListeners, isSuppress, logPrefix, nextEvent, removeEventListener, suppressEvents, unsuppressEvents
-
Field Details
-
EVENT_CONNECT
- See Also:
-
EVENT_DISCONNECT
- See Also:
-
EVENT_RECONNECT
- See Also:
-
EVENT_RECONNECT_AUTH_FAILED
- See Also:
-
EVENT_REQUEST_FAILED
- See Also:
-
EVENT_REQUEST_STARTED
- See Also:
-
EVENT_REQUEST_SUCCEEDED
- See Also:
-
EVENT_REFRESH_TOKEN_UPDATED
Deprecated.- See Also:
-
LOGIN_TYPE_PASSWORD
- See Also:
-
LOGIN_TYPE_ANONYMOUS
- See Also:
-
-
Constructor Details
-
CoreClient
public CoreClient(String serverUrl, @TsTypeRef(ConnectOptions.class) @JsOptional @TsTypeRef(ConnectOptions.class) Object connectOptions)
-
-
Method Details
-
running
-
getServerUrl
-
getAuthConfigValues
-
login
public elemental2.promise.Promise<Void> login(@TsTypeRef(LoginCredentials.class) @TsTypeRef(LoginCredentials.class) jsinterop.base.JsPropertyMap<Object> credentials) -
relogin
public elemental2.promise.Promise<Void> relogin(@TsTypeRef(JsRefreshToken.class) @TsTypeRef(JsRefreshToken.class) Object token) -
onConnected
-
getServerConfigValues
-
getStorageService
-
getAsIdeConnection
-
disconnect
public void disconnect()
-