Go to the source code of this file.
Functions | |
static void | ResizeChannelBuffer (NSObject< FlutterBinaryMessenger > *binaryMessenger, NSString *channel, NSInteger newSize) |
static void | SetWarnsOnOverflow (NSObject< FlutterBinaryMessenger > *binaryMessenger, NSString *channel, BOOL warns) |
static FlutterBinaryMessengerConnection | SetMessageHandler (NSObject< FlutterBinaryMessenger > *messenger, NSString *name, FlutterBinaryMessageHandler handler, NSObject< FlutterTaskQueue > *taskQueue) |
Variables | |
static FLUTTER_ASSERT_ARC NSString *const | kFlutterChannelBuffersChannel = @"@"dev.flutter/channel-buffers" |
static NSString *const | kResizeMethod = @"@"resize" |
static NSString *const | kOverflowMethod = @"@"overflow" |
NSString * | _name |
NSObject< FlutterMessageCodec > * | _codec |
FlutterBinaryMessengerConnection | _connection |
NSObject< FlutterTaskQueue > * | _taskQueue |
|
static |
Definition at line 15 of file FlutterChannels.mm.
References kFlutterChannelBuffersChannel, and kResizeMethod.
Referenced by FlutterBasicMessageChannel::resizeChannelBuffer:, and FlutterBasicMessageChannel::resizeChannelWithName:binaryMessenger:size:.
|
static |
Definition at line 50 of file FlutterChannels.mm.
|
static |
Defines whether a channel should show warning messages when discarding messages due to overflow.
binaryMessenger | The binary messenger. |
channel | The channel name. |
warns | When false, the channel is expected to overflow and warning messages will not be shown. |
Definition at line 39 of file FlutterChannels.mm.
References kFlutterChannelBuffersChannel, and kOverflowMethod.
Referenced by FlutterBasicMessageChannel::setWarnsOnOverflow:, and FlutterBasicMessageChannel::setWarnsOnOverflow:forChannelWithName:binaryMessenger:.
NSObject<FlutterMessageCodec>* _codec |
Definition at line 71 of file FlutterChannels.mm.
FlutterBinaryMessengerConnection _connection |
Definition at line 72 of file FlutterChannels.mm.
Referenced by FlutterEngineHandlerInfo::initWithConnection:handler:.
NSString* _name |
Definition at line 68 of file FlutterChannels.mm.
Referenced by FlutterBasicMessageChannel::resizeChannelBuffer:, and FlutterBasicMessageChannel::setWarnsOnOverflow:.
NSObject<FlutterTaskQueue>* _taskQueue |
Definition at line 73 of file FlutterChannels.mm.
|
static |
Definition at line 11 of file FlutterChannels.mm.
Referenced by ResizeChannelBuffer(), and SetWarnsOnOverflow().
|
static |
Definition at line 13 of file FlutterChannels.mm.
Referenced by flutter::internal::SetChannelWarnsOnOverflow(), and SetWarnsOnOverflow().
|
static |
Definition at line 12 of file FlutterChannels.mm.
Referenced by flutter::internal::ResizeChannel(), and ResizeChannelBuffer().