Package | Description |
---|---|
com.pushtechnology.diffusion.client.session |
Unified 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 new client session connected to a server using the configuration
of the factory.
|
Session |
SessionFactory.open(String url)
Open a new client session connected to a server via a given URL.
|
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)
Called when a session has been successfully opened.
|
void |
SessionFactory.OpenCallback.onOpened(Session session)
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 © 2016 Push Technology Ltd. All Rights Reserved.