| Total Complexity | 0 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | """Get Async Request Message.""" |
||
| 2 | # System imports |
||
| 3 | |||
| 4 | # Third-party imports |
||
| 5 | |||
| 6 | # Local imports |
||
| 7 | 1 | from pyof.foundation.base import GenericMessage |
|
| 8 | 1 | from pyof.v0x04.common.header import Header, Type |
|
| 9 | |||
| 10 | 1 | __all__ = ('GetAsyncRequest',) |
|
| 11 | |||
| 12 | |||
| 13 | 1 | class GetAsyncRequest(GenericMessage): |
|
| 14 | """Request Asynchronous messages. |
||
| 15 | |||
| 16 | Query the asynchronous messages that it wants to receive (other than error |
||
| 17 | messages) on a given OpenFlow channel. |
||
| 18 | """ |
||
| 19 | |||
| 20 | #: OpenFlow :class:`~pyof.v0x04.common.header.Header` |
||
| 21 | header = Header(message_type=Type.OFPT_GET_ASYNC_REQUEST) |
||
| 22 |