public class SendEvent extends Object implements ClientEvent
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.channel.ChannelHandlerContext |
ctx |
protected static org.slf4j.Logger |
LOGGER |
protected byte[] |
msgToSend |
| Constructor and Description |
|---|
SendEvent(byte[] msgToSend) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
eventExecuted()
Common method for triggering events
|
void |
setCtx(io.netty.channel.ChannelHandlerContext ctx) |
protected static final org.slf4j.Logger LOGGER
protected byte[] msgToSend
protected io.netty.channel.ChannelHandlerContext ctx
public SendEvent(byte[] msgToSend)
msgToSend - message to be sentpublic boolean eventExecuted()
ClientEventeventExecuted in interface ClientEventpublic void setCtx(io.netty.channel.ChannelHandlerContext ctx)
ctx - context which will be used for sending messages (SendEvents)Copyright © 2016 OpenDaylight. All Rights Reserved.