public interface IncomingConnector<T>
| Modifier and Type | Method and Description |
|---|---|
Address |
accept(Action<ConnectEvent<Connection<T>>> action,
boolean allowRemote)
Allocates a new incoming endpoint.
|
Address accept(Action<ConnectEvent<Connection<T>>> action, boolean allowRemote)
action - the action to execute on incoming connection. The supplied action is not required to be thread-safe.allowRemote - If true, only allow connections from remote machines. If false, allow only from the local machine.Copyright © 2013. All rights reserved