Package io.netty.handler.ssl.ocsp
Class IoTransport
- java.lang.Object
-
- io.netty.handler.ssl.ocsp.IoTransport
-
public final class IoTransport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static IoTransport
DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IoTransport
create(io.netty.channel.EventLoop eventLoop, io.netty.channel.ChannelFactory<io.netty.channel.socket.SocketChannel> socketChannel, io.netty.channel.ChannelFactory<io.netty.channel.socket.DatagramChannel> datagramChannel)
Create a newIoTransport
instanceio.netty.channel.ChannelFactory<io.netty.channel.socket.DatagramChannel>
datagramChannel()
io.netty.channel.EventLoop
eventLoop()
io.netty.channel.ChannelFactory<io.netty.channel.socket.SocketChannel>
socketChannel()
-
-
-
Field Detail
-
DEFAULT
public static final IoTransport DEFAULT
-
-
Method Detail
-
create
public static IoTransport create(io.netty.channel.EventLoop eventLoop, io.netty.channel.ChannelFactory<io.netty.channel.socket.SocketChannel> socketChannel, io.netty.channel.ChannelFactory<io.netty.channel.socket.DatagramChannel> datagramChannel)
Create a newIoTransport
instance- Parameters:
eventLoop
-EventLoop
to use for I/OsocketChannel
-SocketChannel
for TCP DNS lookup and OCSP querydatagramChannel
-DatagramChannel
for UDP DNS lookup- Returns:
NullPointerException
if any parameter isnull
-
eventLoop
public io.netty.channel.EventLoop eventLoop()
-
socketChannel
public io.netty.channel.ChannelFactory<io.netty.channel.socket.SocketChannel> socketChannel()
-
datagramChannel
public io.netty.channel.ChannelFactory<io.netty.channel.socket.DatagramChannel> datagramChannel()
-
-