stream_handleEvent_ property
stream:handleEvent:
Implementation
static final stream_handleEvent_ =
objc.ObjCProtocolListenableMethod<void Function(NSStream, int)>(
_protocol_NSStreamDelegate,
_sel_stream_handleEvent_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.UnsignedLong,
)
>
>(_1wx624s_protocolTrampoline_hoampi)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSStreamDelegate,
_sel_stream_handleEvent_,
isRequired: false,
isInstanceMethod: true,
),
(void Function(NSStream, int) func) =>
ObjCBlock_ffiVoid_ffiVoid_NSStream_NSStreamEvent.fromFunction(
(ffi.Pointer<ffi.Void> _, NSStream arg1, int arg2) =>
func(arg1, arg2),
),
(void Function(NSStream, int) func) =>
ObjCBlock_ffiVoid_ffiVoid_NSStream_NSStreamEvent.listener(
(ffi.Pointer<ffi.Void> _, NSStream arg1, int arg2) =>
func(arg1, arg2),
),
(void Function(NSStream, int) func) =>
ObjCBlock_ffiVoid_ffiVoid_NSStream_NSStreamEvent.blocking(
(ffi.Pointer<ffi.Void> _, NSStream arg1, int arg2) =>
func(arg1, arg2),
),
);