public class Ping
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Ping(byte pingId)
Default constructor.
|
public Ping(byte pingId)
pingId
- the ping idpublic byte getId()
public boolean isPong()
true
if the object represents a pong.public void setPong(boolean isPong)
isPong
- true
to set the ping as a pong.