Renamed onConnect() to onAccept() to reflect its server-side role.

This commit is contained in:
Simone Bordet 2014-08-21 11:27:51 +02:00
parent c07ea68b51
commit 17c8f71724
2 changed files with 3 additions and 3 deletions

View File

@ -22,12 +22,12 @@ import org.eclipse.jetty.http2.api.Session;
public interface ServerSessionListener extends Session.Listener
{
public void onConnect(Session session);
public void onAccept(Session session);
public static class Adapter extends Session.Listener.Adapter implements ServerSessionListener
{
@Override
public void onConnect(Session session)
public void onAccept(Session session)
{
}
}

View File

@ -122,7 +122,7 @@ public abstract class AbstractHTTP2ServerConnectionFactory extends AbstractConne
{
try
{
listener.onConnect(session);
listener.onAccept(session);
}
catch (Throwable x)
{