@Test public void getName() { NomadEndpoint<String> namedServer = new NomadEndpoint<>(name, server); assertEquals(name, namedServer.getAddress()); }
public InetSocketAddress getAddress() { return address; }
NomadEndpoint implements NomadServer<T> { public InetSocketAddress getAddress() { return address; } }
NomadEndpoint implements NomadServer<T> { public InetSocketAddress getAddress() { return address; } NomadEndpoint(InetSocketAddress address, NomadServer<T> server); }
NomadEndpoint implements NomadServer<T> { public InetSocketAddress getAddress() { return address; } NomadEndpoint(InetSocketAddress address, NomadServer<T> server); InetSocketAddress getAddress(); @Override DiscoverResponse<T> discover(); @Override AcceptRejectResponse prepare(PrepareMessage message); @Override AcceptRejectResponse commit(CommitMessage message); @Override AcceptRejectResponse rollback(RollbackMessage message); @Override AcceptRejectResponse takeover(TakeoverMessage message); @Override void close(); @Override String toString(); }
NomadEndpoint implements NomadServer<T> { public InetSocketAddress getAddress() { return address; } NomadEndpoint(InetSocketAddress address, NomadServer<T> server); InetSocketAddress getAddress(); @Override DiscoverResponse<T> discover(); @Override AcceptRejectResponse prepare(PrepareMessage message); @Override AcceptRejectResponse commit(CommitMessage message); @Override AcceptRejectResponse rollback(RollbackMessage message); @Override AcceptRejectResponse takeover(TakeoverMessage message); @Override void close(); @Override String toString();  }