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

io.fabric8.maven.docker.access.hc.win.NpipeSocketAddress Maven / Gradle / Ivy

There is a newer version: 0.45.0
Show newest version
package io.fabric8.maven.docker.access.hc.win;

import java.io.File;

class NpipeSocketAddress extends java.net.SocketAddress {

	private static final long serialVersionUID = 1L;

	private String path;

    NpipeSocketAddress(File path) {
        this.path = path.getPath();
    }

    public String path() {
        return path;
    }

    @Override
    public String toString() {
        return "NpipeSocketAddress{path=" + path + "}";
    }

    @Override
    public boolean equals(Object _other) {
        return _other instanceof NpipeSocketAddress && path.equals(((NpipeSocketAddress) _other).path);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy