Class SocketConnectionInfos


  • public class SocketConnectionInfos
    extends Object
    Bean to embed host/port to Graphite
    Since:
    2.13
    • Constructor Detail

      • SocketConnectionInfos

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

      • getHost

        public String getHost()
        Returns:
        the host
      • setHost

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

        public int getPort()
        Returns:
        the port
      • setPort

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