public class OConnectRequest extends Object implements OBinaryRequest<OConnectResponse>
Constructor and Description |
---|
OConnectRequest() |
OConnectRequest(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
OConnectResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
String |
getClientId() |
byte |
getCommand() |
String |
getDescription() |
String |
getDriverName() |
String |
getDriverVersion() |
String |
getPassword() |
short |
getProtocolVersion() |
String |
getRecordFormat() |
String |
getUsername() |
boolean |
isCollectStats() |
boolean |
isSupportPush() |
boolean |
isTokenBased() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
boolean |
requireDatabaseSession() |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredServerRole, requireServerUser
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<OConnectResponse>
IOException
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<OConnectResponse>
IOException
public byte getCommand()
getCommand
in interface OBinaryRequest<OConnectResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<OConnectResponse>
public String getClientId()
public String getDriverName()
public String getDriverVersion()
public String getPassword()
public short getProtocolVersion()
public String getUsername()
public String getRecordFormat()
public boolean isCollectStats()
public boolean isSupportPush()
public boolean isTokenBased()
public boolean requireDatabaseSession()
requireDatabaseSession
in interface OBinaryRequest<OConnectResponse>
public OConnectResponse createResponse()
createResponse
in interface OBinaryRequest<OConnectResponse>
public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute
in interface OBinaryRequest<OConnectResponse>
Copyright © 2009–2020 OrientDB. All rights reserved.