Package org.teiid.transport
Class ODBCSocketListener
- java.lang.Object
-
- org.teiid.transport.SocketListener
-
- org.teiid.transport.ODBCSocketListener
-
- All Implemented Interfaces:
ChannelListener.ChannelListenerFactory
public class ODBCSocketListener extends SocketListener
-
-
Field Summary
-
Fields inherited from class org.teiid.transport.SocketListener
channelHandler
-
-
Constructor Summary
Constructors Constructor Description ODBCSocketListener(InetSocketAddress address, SocketConfiguration config, ClientServiceRegistryImpl csr, StorageManager storageManager, int maxLobSize, LogonImpl logon, TeiidDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureChannelPipeline(io.netty.channel.ChannelPipeline pipeline, SSLConfiguration config, StorageManager storageManager)
ChannelListener
createChannelListener(ObjectChannel channel)
void
setDriver(TeiidDriver driver)
void
setMaxBufferSize(int maxBufferSize)
void
setRequireSecure(boolean requireSecure)
-
Methods inherited from class org.teiid.transport.SocketListener
createChannelHandler, getMaxMessageSize, getPort, getStats, setMaxLobSize, setMaxMessageSize, stop
-
-
-
-
Constructor Detail
-
ODBCSocketListener
public ODBCSocketListener(InetSocketAddress address, SocketConfiguration config, ClientServiceRegistryImpl csr, StorageManager storageManager, int maxLobSize, LogonImpl logon, TeiidDriver driver)
-
-
Method Detail
-
setDriver
public void setDriver(TeiidDriver driver)
-
setMaxBufferSize
public void setMaxBufferSize(int maxBufferSize)
-
configureChannelPipeline
protected void configureChannelPipeline(io.netty.channel.ChannelPipeline pipeline, SSLConfiguration config, StorageManager storageManager) throws Exception
- Overrides:
configureChannelPipeline
in classSocketListener
- Throws:
Exception
-
createChannelListener
public ChannelListener createChannelListener(ObjectChannel channel)
- Specified by:
createChannelListener
in interfaceChannelListener.ChannelListenerFactory
- Overrides:
createChannelListener
in classSocketListener
-
setRequireSecure
public void setRequireSecure(boolean requireSecure)
-
-