Class ODistributedConnectResponse
java.lang.Object
com.orientechnologies.orient.client.remote.message.ODistributedConnectResponse
- All Implemented Interfaces:
OBinaryResponse
Created by tglman on 21/06/17.
-
Constructor Summary
ConstructorsConstructorDescriptionODistributedConnectResponse(int sessionId, byte[] token, int distributedProtocolVersion) -
Method Summary
Modifier and TypeMethodDescriptionintintbyte[]getToken()voidread(OChannelDataInput network, ORemoteClientSession session) voidwrite(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer)
-
Constructor Details
-
ODistributedConnectResponse
public ODistributedConnectResponse(int sessionId, byte[] token, int distributedProtocolVersion) -
ODistributedConnectResponse
public ODistributedConnectResponse()
-
-
Method Details
-
write
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
writein interfaceOBinaryResponse- Throws:
IOException
-
read
- Specified by:
readin interfaceOBinaryResponse- Throws:
IOException
-
getDistributedProtocolVersion
public int getDistributedProtocolVersion() -
getSessionId
public int getSessionId() -
getToken
public byte[] getToken()
-