Package io.netty.handler.ssl.ocsp
Class IoTransport
- java.lang.Object
-
- io.netty.handler.ssl.ocsp.IoTransport
-
public final class IoTransport extends java.lang.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(EventLoop eventLoop, ChannelFactory<SocketChannel> socketChannel, ChannelFactory<DatagramChannel> datagramChannel)
Create a newIoTransport
instanceChannelFactory<DatagramChannel>
datagramChannel()
EventLoop
eventLoop()
ChannelFactory<SocketChannel>
socketChannel()
-
-
-
Field Detail
-
DEFAULT
public static final IoTransport DEFAULT
-
-
Method Detail
-
create
public static IoTransport create(EventLoop eventLoop, ChannelFactory<SocketChannel> socketChannel, ChannelFactory<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 EventLoop eventLoop()
-
socketChannel
public ChannelFactory<SocketChannel> socketChannel()
-
datagramChannel
public ChannelFactory<DatagramChannel> datagramChannel()
-
-