public class OClientConnection extends Object
Constructor and Description |
---|
OClientConnection(int id,
ONetworkProtocol protocol) |
public OClientConnection(int id, ONetworkProtocol protocol)
public void close()
public void acquire()
public void release()
public String getRemoteAddress()
public OChannelBinary getChannel()
public ONetworkProtocol getProtocol()
public byte[] getTokenBytes()
public void validateSession(byte[] tokenFromNetwork, OTokenHandler handler, ONetworkProtocolBinary protocol)
public void cleanSession()
public void endOperation()
public void init(OServer server)
public Boolean getTokenBased()
public void setTokenBased(Boolean tokenBased)
public void setTokenBytes(byte[] tokenBytes)
public OToken getToken()
public void setToken(OToken token)
public int getId()
public long getSince()
public void setProtocol(ONetworkProtocol protocol)
public ODatabaseDocumentInternal getDatabase()
public void setDatabase(ODatabaseDocumentInternal database)
public OServerUserConfiguration getServerUser()
public void setServerUser(OServerUserConfiguration serverUser)
public ONetworkProtocolData getData()
public void setData(ONetworkProtocolData data)
public OClientConnectionStats getStats()
public void statsUpdate()
public void setDisconnectOnAfter(boolean disconnectOnAfter)
public boolean isDisconnectOnAfter()
public OBinaryRequestExecutor getExecutor()
public boolean tryAcquireForExpire()
Copyright © 2009–2020 OrientDB. All rights reserved.