| 381 | |
| 382 | ==== (12/1) ==== |
| 383 | Mostly garbled self-notes. |
| 384 | |
| 385 | * "context-switching" - would be ideal for running a packet through a process chain after a delay. this involves saving the !FloodlightContext and running the queue from where it's left off. The queue can be pulled from Controller.java, and truncated at after the remote dispatcher. |
| 386 | * "context-switching" would be handy for if our higher-tier module sends back out original message. This can happen when there is a bypass, or for some other reason. A check for it would be a Packet_in, since that's the only thing we'd ever send up. For now. |
| 387 | |
| 388 | Flow of events: |
| 389 | {{{ |
| 390 | client -> ClientChannelHandler + (us as [server]) |
| 391 | | |
| 392 | V |
| 393 | switch -> OFChannelHandler -> controller -> !RemoteDispatchBase -> OFUStreamImpl -> [remote server] -> OFUstreamImpl -> OFDStreamImpl -> switch/client (us as [client]) |
| 394 | | |
| 395 | +-----> [other internal modules] -> switch/client |
| 396 | }}} |