Package pubsub.models

Class Instance

java.lang.Object
pubsub.models.Instance
All Implemented Interfaces:
NodeName

public class Instance
extends java.lang.Object
implements NodeName
  • Constructor Summary

    Constructors 
    Constructor Description
    Instance()  
    Instance​(java.lang.String id, InstanceType type, java.lang.String hostname, int port)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getHostname()  
    java.lang.String getId()  
    int getPort()  
    InstanceType getType()  
    java.lang.String nodeName()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

  • Method Details