public class ODistributedConnectResponse extends Object implements OBinaryResponse
Constructor and Description |
---|
ODistributedConnectResponse() |
ODistributedConnectResponse(int sessionId,
byte[] token,
int distributedProtocolVersion) |
Modifier and Type | Method and Description |
---|---|
int |
getDistributedProtocolVersion() |
int |
getSessionId() |
byte[] |
getToken() |
void |
read(OChannelDataInput network,
OStorageRemoteSession session) |
void |
write(OChannelDataOutput channel,
int protocolVersion,
ORecordSerializer serializer) |
public ODistributedConnectResponse(int sessionId, byte[] token, int distributedProtocolVersion)
public ODistributedConnectResponse()
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
write
in interface OBinaryResponse
IOException
public void read(OChannelDataInput network, OStorageRemoteSession session) throws IOException
read
in interface OBinaryResponse
IOException
public int getDistributedProtocolVersion()
public int getSessionId()
public byte[] getToken()
Copyright © 2009–2020 OrientDB. All rights reserved.