psdi.app.signature

Class ServerSession

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MboConstants, MboRemote, MaxRemoteProxy


    public class ServerSession
    extends Mbo
    implements MboRemote
    Mbo object to represent TenantSession.

    This mbo contains non-persistent attributes.

    See Signature Package description.

    This is a system level object.

    The key attribute for this object is MAXSessionUID.

    The attributes in this object are as follows:

    Attribute NameDescription
    ReloadCacheFor the system session (issystem = True), this indicates the names of any caches that need to be reloaded into memory. After cache has been reloaded, this field is cleared. See MaxSessionThread.
    ServerHostHost name or IP Address of the MXServer for this session.
    ServerNameMXServer name.
    ServerTimestampIf this is the system session (issystem = True), this timestamp is updated periodically to indicate that MXServer is up and running. See MaxSessionThread, mxServerIsUp.
    • Constructor Detail

      • ServerSession

        public ServerSession(MboSet ms)
                      throws java.rmi.RemoteException
        Construct the MAXSession object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        ServerHostMXServer.getServerHost
        ServerNameMXServer.getName
        SystemIdleTime00:00:00
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException