/**
- * A ping message to be sent or received from a peer
+ * A [`ping`] message to be sent to or received from a peer.
+ *
+ * [`ping`]: https://github.com/lightning/bolts/blob/master/01-messaging.md#the-ping-and-pong-messages
*/
public class Ping : CommonBase {
internal Ping(object _dummy, long ptr) : base(ptr) { }
}
/**
- * The desired response length
+ * The desired response length.
*/
public short get_ponglen() {
short ret = bindings.Ping_get_ponglen(this.ptr);
}
/**
- * The desired response length
+ * The desired response length.
*/
public void set_ponglen(short val) {
bindings.Ping_set_ponglen(this.ptr, val);
/**
* The ping packet size.
+ *
* This field is not sent on the wire. byteslen zeros are sent.
*/
public short get_byteslen() {
/**
* The ping packet size.
+ *
* This field is not sent on the wire. byteslen zeros are sent.
*/
public void set_byteslen(short val) {