Static builder class for creating INode instances
Esempio n. 1
0
 public static INode Any(int port = 0)
 {
     return(NodeBuilder.BuildNode().Host(IPAddress.Any).WithPort(port));
 }
Esempio n. 2
0
 public static INode Loopback(int port = NetworkConstants.InMemoryPort)
 {
     return(NodeBuilder.BuildNode().Host(IPAddress.Loopback).WithPort(port));
 }