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 IoTransportDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IoTransportcreate(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 newIoTransportinstanceio.netty.channel.ChannelFactory<io.netty.channel.socket.DatagramChannel>datagramChannel()io.netty.channel.EventLoopeventLoop()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 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 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()
-
-