3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-12 10:15:52 +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; return hasNonce;
} }
long getNonce() { public long getNonce() {
return nonce; return nonce;
} }
} }

View File

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