Fixed generation of frames via Session API methods.

This commit is contained in:
Simone Bordet 2014-06-11 21:21:49 +02:00
parent 330d8f9ea9
commit 5a7f954262
2 changed files with 5 additions and 5 deletions

View File

@ -181,7 +181,7 @@ public abstract class HTTP2Session implements ISession, Parser.Listener
@Override
public void onConnectionFailure(int error, String reason)
{
// TODO
}
@Override
@ -213,19 +213,19 @@ public abstract class HTTP2Session implements ISession, Parser.Listener
@Override
public void settings(SettingsFrame frame, Callback callback)
{
frame(frame, callback);
}
@Override
public void ping(PingFrame frame, Callback callback)
{
frame(frame, callback);
}
@Override
public void reset(ResetFrame frame, Callback callback)
{
frame(frame, callback);
}
@Override

View File

@ -44,7 +44,7 @@ public interface Session
public Stream getStream(int streamId);
// TODO: getStreams(), remote and local address, etc. see SPDY's Session
// TODO: remote and local address, etc. see SPDY's Session
public interface Listener
{