Package | Description |
---|---|
com.pushtechnology.diffusion.client.session |
Client API : Sessions.
|
Modifier and Type | Method and Description |
---|---|
Session |
Feature.getSession()
This returns the session that the feature applies to.
|
Session |
SessionFactory.open()
Open a connection to a server and request a new session.
|
Session |
SessionFactory.open(String url)
Open a connection to a server and request a new client session.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Session> |
SessionFactory.openAsync()
Open a connection to a server and request a new session.
|
CompletableFuture<Session> |
SessionFactory.openAsync(String url)
Open a connection to a server and request a new session.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.ErrorHandler.onError(Session session,
Session.SessionError error)
Called when an error has occurred.
|
void |
Session.ErrorHandler.Default.onError(Session session,
Session.SessionError error) |
void |
SessionFactory.OpenContextCallback.onOpened(C context,
Session session)
Deprecated.
Called when a session has been successfully opened.
|
void |
SessionFactory.OpenCallback.onOpened(Session session)
Deprecated.
Called when a session has been successfully opened.
|
void |
Session.Listener.onSessionStateChanged(Session session,
Session.State oldState,
Session.State newState)
Called whenever the state of a session changes.
|
void |
Session.Listener.Default.onSessionStateChanged(Session session,
Session.State oldState,
Session.State newState) |
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.