NSPortDelegate class interface
NSPortDelegate
- Inheritance
-
- Object
- ObjCObjectBase
- ObjCProtocolBase
- NSPortDelegate
- Implemented types
Constructors
- NSPortDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSPortDelegate that points to the same underlying object as
other
. -
NSPortDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSPortDelegate that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the objc.Protocol object for this protocol.
no setter
-
handlePortMessage_
→ ObjCProtocolListenableMethod<
void Function(NSPortMessage)> -
handlePortMessage:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {void handlePortMessage_(NSPortMessage)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSPortDelegate protocol to an existing
objc.ObjCProtocolBuilder.
override
-
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {void handlePortMessage_(NSPortMessage)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSPortDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking
listeners will be.
override
-
addToBuilderAsListener(
ObjCProtocolBuilder builder, {void handlePortMessage_(NSPortMessage)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSPortDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will
be.
override
-
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
obj
is an instance of NSPortDelegate.override -
implement(
{void handlePortMessage_(NSPortMessage)?, bool $keepIsolateAlive = true}) → NSPortDelegate -
Builds an object that implements the NSPortDelegate protocol. To implement
multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
override
-
implementAsBlocking(
{void handlePortMessage_(NSPortMessage)?, bool $keepIsolateAlive = true}) → NSPortDelegate -
Builds an object that implements the NSPortDelegate protocol. To implement
multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All
methods that can be implemented as blocking listeners will be.
override
-
implementAsListener(
{void handlePortMessage_(NSPortMessage)?, bool $keepIsolateAlive = true}) → NSPortDelegate -
Builds an object that implements the NSPortDelegate protocol. To implement
multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All
methods that can be implemented as listeners will be.
override