Class ORemoteClientSession

java.lang.Object
com.orientechnologies.orient.client.remote.ORemoteClientSession

public class ORemoteClientSession extends Object
Created by tglman on 31/03/16.
  • Field Details

    • commandExecuting

      public boolean commandExecuting
    • serverURLIndex

      protected int serverURLIndex
    • connectionUserName

      protected String connectionUserName
    • connectionUserPassword

      protected String connectionUserPassword
    • sessions

      protected Map<String,ORemoteClientNodeSession> sessions
    • currentUrl

      protected String currentUrl
  • Constructor Details

    • ORemoteClientSession

      public ORemoteClientSession(int sessionId)
  • Method Details

    • hasConnection

      public boolean hasConnection(OChannelBinary connection)
    • getServerSession

      public ORemoteClientNodeSession getServerSession(String serverURL)
    • getOrCreateServerSession

      public ORemoteClientNodeSession getOrCreateServerSession(String serverURL)
    • addConnection

      public void addConnection(OChannelBinary connection)
    • close

      public void close()
    • isClosed

      public boolean isClosed()
    • getSessionId

      public Integer getSessionId()
    • getServerUrl

      public String getServerUrl()
    • removeServerSession

      public void removeServerSession(String serverURL)
    • getAllServerSessions

      public Collection<ORemoteClientNodeSession> getAllServerSessions()
    • stickToSession

      public void stickToSession()
    • unStickToSession

      public void unStickToSession()
    • isStickToSession

      public boolean isStickToSession()
    • closeAllSessions

      public void closeAllSessions(ORemoteConnectionManager connectionManager, OContextConfiguration clientConfiguration)
    • getDebugLastHost

      public String getDebugLastHost()
    • getCurrentUrl

      public String getCurrentUrl()