Package com.exonum.client.response
Class ServiceInstanceInfo
java.lang.Object
com.exonum.client.response.ServiceInstanceInfo
public final class ServiceInstanceInfo extends Object
-
Constructor Summary
Constructors Constructor Description ServiceInstanceInfo(String name, int id)
-
Method Summary
-
Constructor Details
-
Method Details
-
getName
Returns the name of the service instance. It serves as the primary identifier of this service in most operations. It is assigned by the network administrators. -
getId
public int getId()Returns the numeric id of the service instance. Exonum assigns it to the service on instantiation. It is mainly used to route the transaction messages belonging to this instance.- See Also:
TransactionMessage.getServiceId()
-
equals
-
hashCode
public int hashCode() -
toString
-