public class Request extends Object
HuobiSocket
.Constructor and Description |
---|
Request(int version,
String msgType)
Constructs a request.
|
Modifier and Type | Method and Description |
---|---|
String |
getMsgType() |
long |
getRequestIndex()
Returns the serial number to sort multiple requests, the server side will
echo back the consistent data that client posted.
|
int |
getVersion() |
void |
setRequestIndex(long requestIndex) |
String |
toString() |
public Request(int version, String msgType)
version
- Client version.msgType
- Message type.public long getRequestIndex()
public void setRequestIndex(long requestIndex)
public int getVersion()
public String getMsgType()
Copyright © 2014–2015. All rights reserved.