NSConnectionDelegate class interface
NSConnectionDelegate
Constructors
- NSConnectionDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSConnectionDelegate that points to the same underlying object as
other. -
NSConnectionDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSConnectionDelegate 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.Protocolobject for this protocol.no setter -
authenticateComponents_withData_
→ ObjCProtocolMethod<
bool Function(NSArray, NSData)> -
authenticateComponents:withData:
final
-
authenticationDataForComponents_
→ ObjCProtocolMethod<
NSData Function(NSArray)> -
authenticationDataForComponents:
final
-
connection_handleRequest_
→ ObjCProtocolMethod<
bool Function(NSConnection, NSDistantObjectRequest)> -
connection:handleRequest:
final
-
connection_shouldMakeNewConnection_
→ ObjCProtocolMethod<
bool Function(NSConnection, NSConnection)> -
connection:shouldMakeNewConnection:
final
-
createConversationForConnection_
→ ObjCProtocolMethod<
ObjCObjectBase Function(NSConnection)> -
createConversationForConnection:
final
-
makeNewConnection_sender_
→ ObjCProtocolMethod<
bool Function(NSConnection, NSConnection)> -
makeNewConnection:sender:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {bool makeNewConnection_sender_(NSConnection, NSConnection)?, bool connection_shouldMakeNewConnection_(NSConnection, NSConnection)?, NSData authenticationDataForComponents_(NSArray)?, bool authenticateComponents_withData_(NSArray, NSData)?, ObjCObjectBase createConversationForConnection_(NSConnection)?, bool connection_handleRequest_(NSConnection, NSDistantObjectRequest)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSConnectionDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSConnectionDelegate. -
implement(
{bool makeNewConnection_sender_(NSConnection, NSConnection)?, bool connection_shouldMakeNewConnection_(NSConnection, NSConnection)?, NSData authenticationDataForComponents_(NSArray)?, bool authenticateComponents_withData_(NSArray, NSData)?, ObjCObjectBase createConversationForConnection_(NSConnection)?, bool connection_handleRequest_(NSConnection, NSDistantObjectRequest)?, bool $keepIsolateAlive = true}) → NSConnectionDelegate -
Builds an object that implements the NSConnectionDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.