hypercast
Class ImmutableNamingBinding

java.lang.Object
  |
  +--hypercast.ImmutableNamingBinding
All Implemented Interfaces:
I_NamingBinding

public class ImmutableNamingBinding
extends java.lang.Object
implements I_NamingBinding

This class exists to allow binding information to be returned to an application. Rather than giving an application a pointer to the internal structures of the naming service object of this class allow an application to access all information about a binding without compromising the encapsulation of data in the implementation of the naming service.


Constructor Summary
ImmutableNamingBinding(boolean local, boolean trusted, java.lang.String name, java.lang.String logicalAddressString, long timestamp, int logicalAddressChangeCounter, boolean authoritative)
           
 
Method Summary
 int getLogicalAddressChangeCounter()
           
 java.lang.String getLogicalAddressString()
           
 java.lang.String getName()
           
 long getTimestamp()
           
 boolean isAuthoritative()
           
 boolean isLocal()
           
 boolean isTrusted()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableNamingBinding

public ImmutableNamingBinding(boolean local,
                              boolean trusted,
                              java.lang.String name,
                              java.lang.String logicalAddressString,
                              long timestamp,
                              int logicalAddressChangeCounter,
                              boolean authoritative)
Method Detail

isLocal

public boolean isLocal()
Specified by:
isLocal in interface I_NamingBinding

isTrusted

public boolean isTrusted()
Specified by:
isTrusted in interface I_NamingBinding

isAuthoritative

public boolean isAuthoritative()
Specified by:
isAuthoritative in interface I_NamingBinding

getName

public java.lang.String getName()
Specified by:
getName in interface I_NamingBinding

getLogicalAddressString

public java.lang.String getLogicalAddressString()
Specified by:
getLogicalAddressString in interface I_NamingBinding

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface I_NamingBinding

getLogicalAddressChangeCounter

public int getLogicalAddressChangeCounter()
Specified by:
getLogicalAddressChangeCounter in interface I_NamingBinding

toString

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