Class SendEvent
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.clients.SendEvent
- All Implemented Interfaces:
- ClientEvent
Class representing sending message event.
- Author:
- michal.polkorab
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCommon method for triggering events.voidsetCtx(io.netty.channel.ChannelHandlerContext ctx) Sets the ChannelHandlerContext.
- 
Field Details- 
msgToSendprotected byte[] msgToSend
- 
ctxprotected io.netty.channel.ChannelHandlerContext ctx
 
- 
- 
Constructor Details- 
SendEventpublic SendEvent(byte[] msgToSend) Constructor.- Parameters:
- msgToSend- message to be sent
 
 
- 
- 
Method Details- 
eventExecutedpublic boolean eventExecuted()Description copied from interface:ClientEventCommon method for triggering events.- Specified by:
- eventExecutedin interface- ClientEvent
- Returns:
- true if event executed successfully
 
- 
setCtxpublic void setCtx(io.netty.channel.ChannelHandlerContext ctx) Sets the ChannelHandlerContext.- Parameters:
- ctx- context which will be used for sending messages (SendEvents)
 
 
-