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 IoTransportDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IoTransportcreate(EventLoop eventLoop, ChannelFactory<SocketChannel> socketChannel, ChannelFactory<DatagramChannel> datagramChannel)Create a newIoTransportinstanceChannelFactory<DatagramChannel>datagramChannel()EventLoopeventLoop()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 newIoTransportinstance- Parameters:
eventLoop-EventLoopto use for I/OsocketChannel-SocketChannelfor TCP DNS lookup and OCSP querydatagramChannel-DatagramChannelfor UDP DNS lookup- Returns:
NullPointerExceptionif any parameter isnull
-
eventLoop
public EventLoop eventLoop()
-
socketChannel
public ChannelFactory<SocketChannel> socketChannel()
-
datagramChannel
public ChannelFactory<DatagramChannel> datagramChannel()
-
-