public class UscPluginUdp extends UscPlugin
CHANNEL, CLIENT_CHANNEL, DIRECT_CHANNEL, LOCAL_SERVER_CHANNEL, ROUTE_IDENTIFIER, SESSION| Constructor and Description |
|---|
UscPluginUdp()
Constructs a new UscPluginUdp
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected io.netty.channel.Channel |
connectToAgent(UscDevice device) |
protected io.netty.channel.Channel |
connectToDeviceDirectly(UscDevice device) |
protected UscChannel.ChannelType |
getChannelType() |
protected io.netty.channel.ChannelInboundHandler |
getFrameDecoder() |
protected io.netty.channel.ChannelOutboundHandler |
getFrameEncoder() |
static io.netty.channel.ChannelHandler |
getSecureClientHandler(io.netty.channel.Channel ch)
Returns the security handler for client-side use.
|
static io.netty.channel.ChannelHandler |
getSecureServerHandler(io.netty.channel.Channel ch)
Returns the security handler for server-side use.
|
addCallHomeConnection, closeAgentInternalConnection, connect, connect, getCloseFuture, getConnectionManager, getDemultiplexer, getDmpx, getMultiplexer, initAgentPipeline, initDirectPipeline, isChannelAvailable, retrieveChannelImpl, sendEventprotected io.netty.channel.ChannelOutboundHandler getFrameEncoder()
getFrameEncoder in class UscPluginprotected io.netty.channel.ChannelInboundHandler getFrameDecoder()
getFrameDecoder in class UscPluginpublic void close()
close in interface AutoCloseableclose in class UscPluginprotected io.netty.channel.Channel connectToAgent(UscDevice device) throws InterruptedException
connectToAgent in class UscPluginInterruptedExceptionprotected io.netty.channel.Channel connectToDeviceDirectly(UscDevice device) throws Exception
connectToDeviceDirectly in class UscPluginExceptionprotected UscChannel.ChannelType getChannelType()
getChannelType in class UscPluginpublic static io.netty.channel.ChannelHandler getSecureServerHandler(io.netty.channel.Channel ch)
throws SSLException
ch - The physical channel that the traffic will be sent through.SSLExceptionpublic static io.netty.channel.ChannelHandler getSecureClientHandler(io.netty.channel.Channel ch)
throws SSLException
ch - The physical channel that the traffic will be sent through.SSLExceptionCopyright © 2019 OpenDaylight. All rights reserved.