public class ConnectedEvent extends Object implements SessionEvent
| Constructor and Description |
|---|
ConnectedEvent(Session session)
Creates a new ConnectedEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
call(SessionListener listener)
Calls the event.
|
Session |
getSession()
Gets the session involved in this event.
|
public ConnectedEvent(Session session)
session - Session being connected.public Session getSession()
public void call(SessionListener listener)
SessionEventcall in interface SessionEventlistener - Listener to call the event on.Copyright © 2022. All rights reserved.