public final class NetconfHelloMessageToXMLEncoder extends NetconfMessageToXMLEncoder
NetconfHelloMessage
. Used by netconf clients to send information about the user, ip address,
protocol etc.
Hello message with header example:
[tomas;10.0.0.0/10000;tcp;1000;1000;;/home/tomas;;]
< hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
< capabilities>
< capability>urn:ietf:params:netconf:base:1.0< /capability>
< /capabilities>
< /hello>
| Constructor and Description |
|---|
NetconfHelloMessageToXMLEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
org.opendaylight.netconf.api.NetconfMessage msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic void encode(io.netty.channel.ChannelHandlerContext ctx,
org.opendaylight.netconf.api.NetconfMessage msg,
io.netty.buffer.ByteBuf out)
throws IOException,
TransformerException
encode in class NetconfMessageToXMLEncoderIOExceptionTransformerExceptionCopyright © 2017 OpenDaylight. All rights reserved.