Class StaticMember

java.lang.Object
org.apache.catalina.tribes.membership.MemberImpl
org.apache.catalina.tribes.membership.StaticMember
All Implemented Interfaces:
Externalizable, Serializable, Member

public class StaticMember extends MemberImpl
See Also:
  • Constructor Details

    • StaticMember

      public StaticMember()
    • StaticMember

      public StaticMember(String host, int port, long aliveTime) throws IOException
      Throws:
      IOException
    • StaticMember

      public StaticMember(String host, int port, long aliveTime, byte[] payload) throws IOException
      Throws:
      IOException
  • Method Details

    • setHost

      public void setHost(String host)
      Parameters:
      host - String, either in byte array string format, like {214,116,1,3} or as a regular hostname, 127.0.0.1 or tomcat01.mydomain.com
    • setDomain

      public void setDomain(String domain)
      Parameters:
      domain - String, either in byte array string format, like {214,116,1,3} or as a regular string value like 'mydomain'. The latter will be converted using ISO-8859-1 encoding
    • setUniqueId

      public void setUniqueId(String id)
      Parameters:
      id - String, must be in byte array string format, like {214,116,1,3} and exactly 16 bytes long