StaticMemberpublic class StaticMember extends MemberImpl Title:
Description:
Company: |
Constructors Summary |
---|
public StaticMember()
super();
| public StaticMember(String host, int port, long aliveTime)
super(host, port, aliveTime);
| public StaticMember(String host, int port, long aliveTime, byte[] payload)
super(host, port, aliveTime, payload);
|
Methods Summary |
---|
public void | setDomain(java.lang.String domain)
if ( domain == null ) return;
if ( domain.startsWith("{") ) setDomain(Arrays.fromString(domain));
else setDomain(Arrays.convert(domain));
| public void | setHost(java.lang.String host)
if ( host == null ) return;
if ( host.startsWith("{") ) setHost(Arrays.fromString(host));
else try { setHostname(host); }catch (IOException x) { throw new RuntimeException(x);}
| public void | setUniqueId(java.lang.String id)
byte[] uuid = Arrays.fromString(id);
if ( uuid==null || uuid.length != 16 ) throw new RuntimeException("UUID must be exactly 16 bytes, not:"+id);
setUniqueId(uuid);
|
|