| Package | Description |
|---|---|
| javax.net.websocket |
| Modifier and Type | Method and Description |
|---|---|
Set<Session> |
ClientContainer.getActiveSessions()
Return an unordered collection of the currently active web socket sessions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Endpoint.onClose(Session session)
Developers may implement this method to be notified when an active conversation
has just been terminated.
|
void |
Endpoint.onError(Throwable thr,
Session s)
Developers may implement this method when a web socket connection, represented by the session,
creates some kind of error that is not modeled in the web socket protocol.
|
abstract void |
Endpoint.onOpen(Session session)
Developers may implement this method to be notified when a new conversation has
just begun.
|
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.