public class RequestKeepAlive extends RpcRequest<ResponseSuccessful>
keepalive
, and returns a ResponseSuccessful
data object.Constructor | Description |
---|---|
RequestKeepAlive(String peerAddress,
int peerPort) |
Modifier and Type | Method | Description |
---|---|---|
String |
getPeerAddress() |
|
int |
getPeerPort() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActionCommand, getResponseClass, toString
public RequestKeepAlive(String peerAddress, int peerPort)
peerAddress
- the remote peer's IP addresspeerPort
- the remote peer's portpublic String getPeerAddress()
public int getPeerPort()
Copyright © 2020. All rights reserved.