Class SendEvent
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.clients.SendEvent
-
- All Implemented Interfaces:
ClientEvent
public class SendEvent extends Object implements ClientEvent
Class representing sending message event.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description SendEvent(byte[] msgToSend)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eventExecuted()
Common method for triggering events.void
setCtx(io.netty.channel.ChannelHandlerContext ctx)
Sets the ChannelHandlerContext.
-
-
-
Method Detail
-
eventExecuted
public boolean eventExecuted()
Description copied from interface:ClientEvent
Common method for triggering events.- Specified by:
eventExecuted
in interfaceClientEvent
- Returns:
- true if event executed successfully
-
setCtx
public void setCtx(io.netty.channel.ChannelHandlerContext ctx)
Sets the ChannelHandlerContext.- Parameters:
ctx
- context which will be used for sending messages (SendEvents)
-
-