| Modifier and Type | Field and Description | 
|---|---|
| (package private) Connection | OFController.QI. conn | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) Connection | OFController.QI. connection() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | OFController. handleConnectedEvent(Connection conn)This callback is called when a new connection to a new switch is made. | 
| protected abstract boolean | OFModule. handleDisconnect(Connection conn)Process the disconnection event from a switch. | 
| boolean | OFController. handleDisconnectEvent(Connection conn)This callback is called when a connection to a switch is lost. | 
| boolean | OFController. handleEchoRequest(Connection conn,
                 MessageContext context,
                 org.openflow.protocol.OFEchoRequest m)handle Echo Request message. | 
| abstract boolean | OFController. handleGeneric(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage m)handle the other messages. | 
| protected abstract boolean | OFModule. handleHandshakedEvent(Connection conn,
                     MessageContext context)An abstract method that all subclasses should implement. | 
| boolean | OFController. handleHello(Connection conn,
           MessageContext context,
           org.openflow.protocol.OFHello m)handle Hello message. | 
| protected abstract boolean | OFModule. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing)Handle incoming messages that pass the test of filters. | 
| abstract boolean | OFController. handlePacketIn(Connection conn,
              MessageContext context,
              org.openflow.protocol.OFPacketIn m)handle Packet-in Message. | 
| boolean | OFController. handleReadEvent(Connection conn,
               java.util.List<org.openflow.protocol.OFMessage> msgs)This is a method that cannot be overridden. | 
| boolean | OFController.QP. handleReadEvent(Connection conn,
               java.util.List<org.openflow.protocol.OFMessage> msgs)This function delivers a read event to the QP thread. | 
| boolean | OFController. isMyFlow(Connection conn,
        java.util.List<org.openflow.protocol.OFMessage> msgs)This function returns true if a given messages is assigned to this controller. | 
| boolean | OFController. isMySwitch(Connection conn)This function returns true if a given switch is assigned to this controller. | 
| private boolean | OFController.QP. process(Connection conn,
       java.util.List<org.openflow.protocol.OFMessage> msgs)process a list of OFMessage objects received from the connection. | 
| boolean | OFModule. processDisconnect(Connection conn)Process the disconnection event from a switch. | 
| private boolean | OFController.QP. processFeaturesReply(Connection conn,
                    MessageContext context,
                    org.openflow.protocol.OFFeaturesReply m)This function returns false when there is no switch object in connection. | 
| boolean | OFModule. processHandshakeFinished(Connection conn,
                        MessageContext context)This method is called after FEATURE-REQUEST and FEATUER-REPLY is correctly exchanged. | 
| boolean | OFModule. processMessage(Connection conn,
              MessageContext context,
              org.openflow.protocol.OFMessage msg,
              java.util.List<org.openflow.protocol.OFMessage> outgoing)Handle incoming messages and return the processing result. | 
| Constructor and Description | 
|---|
| OFController.QI(Connection conn,
               java.util.List<org.openflow.protocol.OFMessage> msgs) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMDeviceManager. handleDisconnect(Connection conn) | 
| protected boolean | OFMDefaultEntityClassifier. handleDisconnect(Connection conn) | 
| protected boolean | OFMDeviceManager. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMDefaultEntityClassifier. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMDeviceManager. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| protected boolean | OFMDefaultEntityClassifier. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMFirewall. handleDisconnect(Connection conn) | 
| protected boolean | OFMFirewall. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMFirewall. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | ForwardingBase. handleDisconnect(Connection conn) | 
| protected boolean | ForwardingBase. handleHandshakedEvent(Connection sw,
                     MessageContext context) | 
| protected boolean | ForwardingBase. handleMessage(Connection conn,
             MessageContext cntx,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing)Initializes this module. | 
| protected boolean | ForwardingBase. isInBroadcastCache(Connection conn,
                  org.openflow.protocol.OFPacketIn pi,
                  MessageContext cntx)Updates the broadcast cache of the switch. | 
| protected boolean | ForwardingBase. isInSwitchBroadcastCache(Connection conn,
                        org.openflow.protocol.OFPacketIn pi,
                        MessageContext cntx)Updates the broadcast cache of the switch. | 
| void | ForwardingBase. packetOutMultiPort(byte[] packetData,
                  Connection conn,
                  short inPort,
                  java.util.Set<java.lang.Integer> outPorts,
                  MessageContext cntx)Writes packet-out message to switch with output actions to one or more
 output ports with inPort/outPorts passed in. | 
| void | ForwardingBase. packetOutMultiPort(IPacket packet,
                  Connection conn,
                  short inPort,
                  java.util.Set<java.lang.Integer> outPorts,
                  MessageContext cntx)Accepts an IPacket instead of raw packet data. | 
| void | ForwardingBase. packetOutMultiPort(org.openflow.protocol.OFPacketIn pi,
                  Connection conn,
                  short inPort,
                  java.util.Set<java.lang.Integer> outPorts,
                  MessageContext cntx)Accepts a PacketIn instead of raw packet data. | 
| abstract boolean | ForwardingBase. processPacketInMessage(Connection conn,
                      org.openflow.protocol.OFPacketIn pi,
                      IRoutingDecision decision,
                      MessageContext cntx)All subclasses must define this function if they want any specific
 forwarding action. | 
| boolean | Forwarding. processPacketInMessage(Connection conn,
                      org.openflow.protocol.OFPacketIn pi,
                      IRoutingDecision decision,
                      MessageContext cntx)Calls an appropriate method to process packetin according to the routing decision. | 
| void | ForwardingBase. pushPacket(Connection conn,
          IPacket packet,
          IOFSwitch sw,
          int bufferId,
          short inPort,
          short outPort,
          MessageContext cntx)Pushes a packet-out to a switch. | 
| protected void | ForwardingBase. pushPacket(Connection conn,
          org.openflow.protocol.OFMatch match,
          org.openflow.protocol.OFPacketIn pi,
          short outport,
          MessageContext cntx)Pushes a packet-out to a switch. | 
| boolean | ForwardingBase. pushRoute(Connection conn,
         Route route,
         org.openflow.protocol.OFMatch match,
         java.lang.Integer wildcard_hints,
         org.openflow.protocol.OFPacketIn pi,
         long pinSwitch,
         long cookie,
         MessageContext cntx,
         boolean reqeustFlowRemovedNotifn,
         boolean doFlush,
         short flowModCommand)Pushes routes from back to front. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | Hub. handleDisconnect(Connection conn) | 
| protected boolean | Hub. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | Hub. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | OFMLearningMac. handleDisconnect(Connection conn)Handle disconnection to a switch. | 
| protected boolean | OFMLearningMac. handleHandshakedEvent(Connection sw,
                     MessageContext context)As this module does not process handshake event, 
 it just returns true. | 
| boolean | OFMLearningMac. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing)this method is a callback called by controller to request this module to 
 handle an incoming message. | 
| private boolean | OFMLearningMac. processPacketInMessage(Connection conn,
                      MessageContext context,
                      org.openflow.protocol.OFMessage msg,
                      java.util.List<org.openflow.protocol.OFMessage> out)Processes a OFPacketIn message. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMLinkDiscovery. handleDisconnect(Connection conn) | 
| protected boolean | OFMLinkDiscovery. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMLinkDiscovery. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMStateManager. handleDisconnect(Connection conn)Does nothing except for returning true. | 
| protected boolean | OFMStateManager. handleHandshakedEvent(Connection conn,
                     MessageContext context)Does nothing except for returning true. | 
| protected boolean | OFMStateManager. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing)Does nothing except for returning true. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMStaticFlowEntryPusher. handleDisconnect(Connection conn) | 
| protected boolean | OFMStaticFlowEntryPusher. handleHandshakedEvent(Connection conn,
                     MessageContext context)This method only returns true, which means no module-specific operations are required. | 
| protected boolean | OFMStaticFlowEntryPusher. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing)This method only returns true, which means no module-specific operations are required. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMStorageManager. handleDisconnect(Connection conn) | 
| protected boolean | OFMStorageManager. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMStorageManager. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMStorageManager. handleDisconnect(Connection conn) | 
| protected boolean | OFMStorageManager. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMStorageManager. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMTopologyManager. handleDisconnect(Connection conn) | 
| boolean | OFMTopologyManager. handleHandshakedEvent(Connection sw,
                     MessageContext context) | 
| boolean | OFMTopologyManager. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing)This is starting point of OFMTopologyManager | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OFMUserInterface. handleDisconnect(Connection conn) | 
| protected boolean | OFMUserInterface. handleHandshakedEvent(Connection conn,
                     MessageContext context) | 
| protected boolean | OFMUserInterface. handleMessage(Connection conn,
             MessageContext context,
             org.openflow.protocol.OFMessage msg,
             java.util.List<org.openflow.protocol.OFMessage> outgoing) | 
| Modifier and Type | Field and Description | 
|---|---|
| private Connection | OFSwitchImpl. conn | 
| Modifier and Type | Method and Description | 
|---|---|
| Connection | OFSwitchImpl. getConnection() | 
| Connection | IOFSwitch. getConnection() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.Set<IOFHandler> | ClientChannelWatcher. getHandlersFor(Connection conn) | 
| boolean | IOFHandler. handleConnectedEvent(Connection conn) | 
| private boolean | ClientChannelWatcher. handleConnectedEvent(Connection conn) | 
| private void | ClientChannelWatcher. handleDisconnectedEvent(Connection conn) | 
| boolean | IOFHandler. handleDisconnectEvent(Connection conn) | 
| private boolean | ClientChannelWatcher. handleReadEvent(Connection conn) | 
| boolean | IOFHandler. handleReadEvent(Connection conn,
               java.util.List<org.openflow.protocol.OFMessage> msgs) | 
| boolean | IOFHandler. isMyFlow(Connection conn,
        java.util.List<org.openflow.protocol.OFMessage> msgs)If the messages are need to be handled by this controller,
 it returns true. | 
| boolean | IOFHandler. isMySwitch(Connection conn)If the connection is need to be handled by this handler, 
 it returns true. | 
| void | OFSwitchImpl. setConnection(Connection conn) | 
| void | IOFSwitch. setConnection(Connection conn) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | OFMessageDamper. write(Connection conn,
     org.openflow.protocol.OFMessage msg)write the messag to the switch according to our dampening settings |