Package io.netty.handler.codec.spdy
Class DefaultSpdyPingFrame
java.lang.Object
io.netty.handler.codec.spdy.DefaultSpdyPingFrame
- All Implemented Interfaces:
SpdyFrame
,SpdyPingFrame
The default
SpdyPingFrame
implementation.-
Field Details
-
id
private int id
-
-
Constructor Details
-
DefaultSpdyPingFrame
public DefaultSpdyPingFrame(int id) Creates a new instance.- Parameters:
id
- the unique ID of this frame
-
-
Method Details
-
id
public int id()Description copied from interface:SpdyPingFrame
Returns the ID of this frame.- Specified by:
id
in interfaceSpdyPingFrame
-
setId
Description copied from interface:SpdyPingFrame
Sets the ID of this frame.- Specified by:
setId
in interfaceSpdyPingFrame
-
toString
-