Example usage for io.netty.channel.unix DomainSocketAddress path

List of usage examples for io.netty.channel.unix DomainSocketAddress path

Introduction

In this page you can find the example usage for io.netty.channel.unix DomainSocketAddress path.

Prototype

public String path() 

Source Link

Document

The path to the domain socket.

Usage

From source file:net.petercashel.nettyCore.serverUDS.serverCoreUDS.java

License:Apache License

public static DomainSocketAddress newSocketAddress(File socket) {
    socket.delete();//from   ww w  .  ja  v  a2s .c  om
    DomainSocketAddress sock = new DomainSocketAddress(socket);
    System.out.println(sock.path());
    return sock;
}