public abstract class AbstractSharedPoolClient extends AbstractClient
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<Channel> |
channels |
protected int |
connections |
protected SharedObjectFactory |
factory |
codec, localAddress, remoteAddress, state, url| Constructor and Description |
|---|
AbstractSharedPoolClient(URL url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeAllChannels() |
protected abstract SharedObjectFactory |
createChannelFactory() |
protected Channel |
getChannel() |
protected void |
initConnections(boolean async) |
protected void |
initPool() |
getLocalAddress, getRemoteAddress, heartbeat, setLocalAddress, setRemoteAddressprotected SharedObjectFactory factory
protected int connections
public AbstractSharedPoolClient(URL url)
protected void initPool()
protected abstract SharedObjectFactory createChannelFactory()
protected void initConnections(boolean async)
protected Channel getChannel()
protected void closeAllChannels()
Copyright © 2020. All rights reserved.