/** * Indicate that the server is up, which will allow client invocations to proceed. This method must be called * in order for invocations to flow through the server. */ public void serverUp() { callbackBuffer.activate(); } }
public <T> void addListener(final Consumer<T> consumer, final T p1) { addListener(Consumer::accept, consumer, p1); }
public void addListener(final Runnable runnable) { addListener(Runnable::run, runnable); }
/** * Indicate that the server is up, which will allow client invocations to proceed. This method must be called * in order for invocations to flow through the server. */ public void serverUp() { callbackBuffer.activate(); } }
public void addListener(final Runnable runnable) { addListener(Runnable::run, runnable); }
/** * Indicate that the server is up, which will allow client invocations to proceed. This method must be called * in order for invocations to flow through the server. */ public void serverUp() { callbackBuffer.activate(); } }
public <T> void addListener(final Consumer<T> consumer, final T p1) { addListener(Consumer::accept, consumer, p1); }
public void addListener(final Runnable runnable) { addListener(Runnable::run, runnable); }
public <T> void addListener(final Consumer<T> consumer, final T p1) { addListener(Consumer::accept, consumer, p1); }