3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

Make some accessors on Ping/Pong public.

This commit is contained in:
Mike Hearn 2014-04-22 16:48:27 +02:00
parent b4644fdf81
commit 98fc5827f2
2 changed files with 5 additions and 4 deletions

View File

@ -65,11 +65,11 @@ public class Ping extends Message {
}
boolean hasNonce() {
public boolean hasNonce() {
return hasNonce;
}
long getNonce() {
public long getNonce() {
return nonce;
}
}

View File

@ -50,8 +50,9 @@ public class Pong extends Message {
@Override
protected void parseLite() {
}
long getNonce() {
/** Returns the nonce sent by the remote peer. */
public long getNonce() {
return nonce;
}
}