All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liveperson.ephemerals.deploy.probe.TcpProbe Maven / Gradle / Ivy

There is a newer version: 1.0.0.7
Show newest version
package com.liveperson.ephemerals.deploy.probe;

/**
 * Created by waseemh on 9/5/16.
 */
public final class TcpProbe extends Probe {

    private final int port;

    protected TcpProbe(Builder builder) {
        super(builder);
        this.port = builder.port;
    }

    public int getPort() {
        return port;
    }

    public static class Builder extends Probe.Builder {

        private int port;

        public Builder(int port) {
            this.port = port;
        }

        public TcpProbe build() {
            return new TcpProbe(this);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy