public class ControllerChannelHandler extends OFChannelHandler
channel, ctrl, sw| Constructor and Description |
|---|
ControllerChannelHandler(OpenVirteXController ctrl,
OVXSwitch sw) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
org.jboss.netty.channel.Channel |
getChannel() |
protected String |
getSwitchInfoString() |
boolean |
isHandShakeComplete() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
protected void |
sendHandShakeMessage(OFType type) |
handleUpstreambindRequested, channelBound, channelClosed, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic ControllerChannelHandler(OpenVirteXController ctrl, OVXSwitch sw)
public boolean isHandShakeComplete()
isHandShakeComplete in class OFChannelHandlerprotected String getSwitchInfoString()
getSwitchInfoString in class OFChannelHandlerpublic void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelConnected in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelDisconnected in class org.jboss.netty.channel.SimpleChannelHandlerExceptionprotected void sendHandShakeMessage(OFType type) throws IOException
sendHandShakeMessage in class OFChannelHandlerIOExceptionpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e)
throws Exception
channelIdle in class org.jboss.netty.handler.timeout.IdleStateAwareChannelHandlerExceptionpublic org.jboss.netty.channel.Channel getChannel()
Copyright © 2015. All rights reserved.