Class SocketConnectionInfos

  • All Implemented Interfaces:

    
    public class SocketConnectionInfos
    
                        

    Bean to embed host/port to Graphite

    Since:

    2.13

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String host
      public int port
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getHost()
      void setHost(String host)
      int getPort()
      void setPort(int port)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SocketConnectionInfos

        SocketConnectionInfos(String host, int port)
        Parameters:
        host - the name of the host to connect to
        port - the port to connect to
    • Method Detail

      • setHost

         void setHost(String host)
        Parameters:
        host - the host to set
      • getPort

         int getPort()
        Returns:

        the port

      • setPort

         void setPort(int port)
        Parameters:
        port - the port to set