Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead.
@Deprecated public static interface SessionFactory.OpenCallback extends Callback
This is used when a session is opened using
SessionFactory.open(String, OpenCallback)
.
It is guaranteed that one and only one of the callback methods will be called.
Callback.Default
Modifier and Type | Method and Description |
---|---|
void |
onOpened(Session session)
Deprecated.
Called when a session has been successfully opened.
|
void onOpened(Session session)
session
- the sessionCopyright © 2024 DiffusionData Ltd. All Rights Reserved.