Class StatusMessage


  • public class StatusMessage
    extends java.lang.Object
    Default Status message (at that time)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      int getPid()  
      java.lang.String getRole()  
      protected void setName​(java.lang.String name)  
      protected void setPid​(int pid)  
      protected void setRole​(java.lang.String role)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StatusMessage

        public StatusMessage()
        Empty constructor
      • StatusMessage

        public StatusMessage​(ServerIdentityInterface serverIdentity)
        Constructor from ServerIdentity
        Parameters:
        serverIdentity - containing ServerName, ServerRole, Global PlatformId
    • Method Detail

      • getName

        public final java.lang.String getName()
        Returns:
        the server name
      • setName

        protected final void setName​(java.lang.String name)
      • getRole

        public final java.lang.String getRole()
        Returns:
        the server role
      • setRole

        protected final void setRole​(java.lang.String role)
      • getPid

        public final int getPid()
        Returns:
        the unique int identifier for this server
      • setPid

        protected final void setPid​(int pid)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object