public class LockRequest extends TXPacket
TXPacket.PacketTypePACKET_TYPE, type| Constructor and Description |
|---|
LockRequest(org.json.JSONObject json) |
LockRequest(java.lang.String lockID,
Transaction tx) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLockID() |
java.lang.String |
getServiceName() |
org.json.JSONObject |
toJSONObjectImpl() |
getRequestID, getRequestType, getResponse, getResponseCode, getTXID, getTXPacketType, isFailed, needsCoordination, setFailed, setResponseCodecouldBeJSON, couldBeJSON, couldBeJSON, couldBeJSONArray, couldBeJSONObject, getPacketType, putPacketType, putPacketType, toJSONObject, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetNeedsCoordinationgetClientAddressgetSummary, toBytes, toStringgetSummarypublic LockRequest(java.lang.String lockID,
Transaction tx)
lockID - tx - public LockRequest(org.json.JSONObject json)
throws org.json.JSONException
json - org.json.JSONExceptionpublic org.json.JSONObject toJSONObjectImpl()
toJSONObjectImpl in class TXPacketpublic java.lang.String getLockID()
public java.lang.String getServiceName()
getServiceName in interface RequestgetServiceName in class TXPacket