package com.firefly.codec.spdy.decode;

import com.firefly.codec.spdy.frames.DataFrame;
import com.firefly.codec.spdy.frames.control.GoAwayFrame;
import com.firefly.codec.spdy.frames.control.HeadersFrame;
import com.firefly.codec.spdy.frames.control.PingFrame;
import com.firefly.codec.spdy.frames.control.RstStreamFrame;
import com.firefly.codec.spdy.frames.control.Settings;
import com.firefly.codec.spdy.frames.control.SynReplyFrame;
import com.firefly.codec.spdy.frames.control.SynStreamFrame;
import com.firefly.codec.spdy.frames.control.WindowUpdateFrame;

public interface SpdyDecodingEvent {
	
	public void onSynStream(SynStreamFrame synStreamFrame);
	
	public void onSynReply(SynReplyFrame synReplyFrame);
	
	public void onRstStream(RstStreamFrame rstStreamFrame);
	
	public void onSettings(Settings settings);
	
	public void onPing(PingFrame pingFrame);
	
	public void onGoAway(GoAwayFrame goAwayFrame);
	
	public void onHeaders(HeadersFrame headersFrame);
	
	public void onWindowUpdate(WindowUpdateFrame windowUpdateFrame);
	
	public void onData(DataFrame dataFrame);
	
}

@@ -554,16 +554,48 @@
 teFrame;
+%0Aimport com.firefly.net.Session;
 %0A%0Apublic
@@ -673,32 +673,49 @@
 e synStreamFrame
+, Session session
 );%0A%09%0A%09public voi
@@ -750,24 +750,41 @@
 ynReplyFrame
+, Session session
 );%0A%09%0A%09public
@@ -826,24 +826,41 @@
 tStreamFrame
+, Session session
 );%0A%09%0A%09public
@@ -893,16 +893,33 @@
 settings
+, Session session
 );%0A%09%0A%09pu
@@ -950,24 +950,41 @@
 me pingFrame
+, Session session
 );%0A%09%0A%09public
@@ -1017,24 +1017,41 @@
  goAwayFrame
+, Session session
 );%0A%09%0A%09public
@@ -1087,24 +1087,41 @@
 headersFrame
+, Session session
 );%0A%09%0A%09public
@@ -1172,24 +1172,41 @@
 wUpdateFrame
+, Session session
 );%0A%09%0A%09public
@@ -1237,15 +1237,32 @@
 ataFrame
+, Session session
 );%0A%09%0A%7D%0A

add spdy event callback