Class SessionMetadata

    • Constructor Detail

      • SessionMetadata

        public SessionMetadata()
    • Method Detail

      • getApplicationName

        public String getApplicationName()
        Description copied from interface: SessionBean
        Get the Application Name
        Specified by:
        getApplicationName in interface SessionBean
        Returns:
        String of the Application Name
      • setApplicationName

        public void setApplicationName​(String applicationName)
      • setCreatedTime

        public void setCreatedTime​(long createdTime)
      • getClientHostName

        public String getClientHostName()
        Description copied from interface: SessionBean
        Get the host name of the machine the client is accessing from. Note this value is reported from the client.
        Specified by:
        getClientHostName in interface SessionBean
        Returns:
      • setClientHostName

        public void setClientHostName​(String clientHostname)
      • getIPAddress

        public String getIPAddress()
        Description copied from interface: SessionBean
        Get the IPAddress for this Session. Note this value is reported from the client.
        Specified by:
        getIPAddress in interface SessionBean
        Returns:
      • setIPAddress

        public void setIPAddress​(String ipAddress)
      • getLastPingTime

        public long getLastPingTime()
        Description copied from interface: SessionBean
        Get the Last time Client has check to see if the server is still available
        Specified by:
        getLastPingTime in interface SessionBean
        Returns:
        Date of the last ping to the server.
      • setLastPingTime

        public void setLastPingTime​(long lastPingTime)
      • getSessionId

        public String getSessionId()
        Description copied from interface: SessionBean
        Get the unique Teiid session within a given Teiid System
        Specified by:
        getSessionId in interface SessionBean
        Returns:
        String of the Session ID
      • setSessionId

        public void setSessionId​(String sessionId)
      • setUserName

        public void setUserName​(String userName)
      • getVDBName

        public String getVDBName()
        Description copied from interface: SessionBean
        Get the VDB Name for this Session
        Specified by:
        getVDBName in interface SessionBean
        Returns:
        String name of the VDB
      • setVDBName

        public void setVDBName​(String vdbName)
      • getVDBVersion

        public String getVDBVersion()
        Description copied from interface: SessionBean
        Get the VDB Version for this Session
        Specified by:
        getVDBVersion in interface SessionBean
        Returns:
        String name/number of the VDB Version
      • setVDBVersion

        public void setVDBVersion​(Object vdbVersion)
      • setSecurityDomain

        public void setSecurityDomain​(String domain)
      • setSessionToken

        public void setSessionToken​(SessionToken sessionToken)
      • setSubject

        public void setSubject​(Subject subject)
      • getSecurityContext

        public Object getSecurityContext()
      • setSecurityContext

        public void setSecurityContext​(Object securityContext)
      • getSubject

        public Subject getSubject()
      • setEmbedded

        public void setEmbedded​(boolean embedded)
      • isEmbedded

        public boolean isEmbedded()
      • getClientHardwareAddress

        public String getClientHardwareAddress()
        Description copied from interface: SessionBean
        Get the client hardware (typically MAC) address. Note this value is reported from the client.
        Specified by:
        getClientHardwareAddress in interface SessionBean
        Returns:
        the hardware address as a hex string or null if not available.
      • setClientHardwareAddress

        public void setClientHardwareAddress​(String clientHardwareAddress)
      • setClosed

        public void setClosed()
      • isClosed

        public boolean isClosed()
      • getBytesUsed

        public long getBytesUsed()
      • addAndGetBytesUsed

        public long addAndGetBytesUsed​(long bytes)
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)