EventBufferEvent::getEnabled
(PECL event >= 1.2.6-beta)
EventBufferEvent::getEnabled — Returns bitmask of events currently enabled on the buffer event
說明
public
EventBufferEvent::getEnabled(): int
Returns bitmask of events currently enabled on the buffer event
參數
此函式沒有參數。
返回值
Returns integer representing a bitmask of events currently enabled on the buffer event
參見
- EventBufferEvent::enable() - Enable events read, write, or both on a buffer event
- EventBufferEvent::disable() - Disable events read, write, or both on a buffer event