public abstract class GenericNettyBrokerLocator extends Object implements ServerLocator
| Modifier and Type | Field and Description |
|---|---|
protected int |
connectTimeout |
protected int |
socketTimeout |
| Constructor and Description |
|---|
GenericNettyBrokerLocator() |
| Modifier and Type | Method and Description |
|---|---|
Channel |
connect(ChannelEventListener messageReceiver,
ConnectionRequestInfo workerInfo) |
int |
getConnectTimeout() |
protected abstract ServerHostData |
getServer() |
int |
getSocketTimeout() |
void |
setConnectTimeout(int connectTimeout) |
void |
setSocketTimeout(int socketTimeout) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbrokerDisconnected, closeprotected abstract ServerHostData getServer()
public int getConnectTimeout()
public void setConnectTimeout(int connectTimeout)
public int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
public Channel connect(ChannelEventListener messageReceiver, ConnectionRequestInfo workerInfo) throws InterruptedException, ServerNotAvailableException, ServerRejectedConnectionException
connect in interface ServerLocatorInterruptedExceptionServerNotAvailableExceptionServerRejectedConnectionExceptionCopyright © 2016. All rights reserved.