public interface ServerSessionFrameListener extends SessionFrameListener
Specific, server-side, SessionFrameListener
.
In addition to SessionFrameListener
, this listener adds method
onConnect(Session)
that is called when a client first connects to the
server and may be used by a server-side application to send a SETTINGS frame
to configure the connection before the client can open any stream.
Modifier and Type | Interface and Description |
---|---|
static class |
ServerSessionFrameListener.Adapter
Empty implementation of
ServerSessionFrameListener |
Modifier and Type | Method and Description |
---|---|
void |
onConnect(Session session)
Callback invoked when a client opens a connection.
|
onFailure, onGoAway, onPing, onRst, onSettings, onSyn
void onConnect(Session session)
Callback invoked when a client opens a connection.
session
- the sessionCopyright © 1995-2015 Webtide. All Rights Reserved.