Пример #1
0
 private static void assertGoAway(Object msg, int lastGoodStreamId) {
   assertNotNull(msg);
   assertTrue(msg instanceof SpdyGoAwayFrame);
   SpdyGoAwayFrame spdyGoAwayFrame = (SpdyGoAwayFrame) msg;
   assertEquals(spdyGoAwayFrame.getLastGoodStreamId(), lastGoodStreamId);
 }