Trait objc2_foundation::NSConnectionDelegate
source ยท pub unsafe trait NSConnectionDelegate: NSObjectProtocol {
// Provided methods
unsafe fn makeNewConnection_sender(
&self,
conn: &NSConnection,
ancestor: &NSConnection
) -> bool
where Self: Sized + Message { ... }
unsafe fn connection_shouldMakeNewConnection(
&self,
ancestor: &NSConnection,
conn: &NSConnection
) -> bool
where Self: Sized + Message { ... }
unsafe fn authenticationDataForComponents(
&self,
components: &NSArray
) -> Retained<NSData>
where Self: Sized + Message { ... }
unsafe fn authenticateComponents_withData(
&self,
components: &NSArray,
signature: &NSData
) -> bool
where Self: Sized + Message { ... }
unsafe fn createConversationForConnection(
&self,
conn: &NSConnection
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn connection_handleRequest(
&self,
connection: &NSConnection,
doreq: &NSDistantObjectRequest
) -> bool
where Self: Sized + Message { ... }
}
๐Deprecated: Use NSXPCConnection instead
Available on crate feature
NSConnection
only.Provided Methodsยง
unsafe fn makeNewConnection_sender( &self, conn: &NSConnection, ancestor: &NSConnection ) -> bool
๐Deprecated: Use NSXPCConnection instead
unsafe fn connection_shouldMakeNewConnection( &self, ancestor: &NSConnection, conn: &NSConnection ) -> bool
๐Deprecated: Use NSXPCConnection instead
unsafe fn authenticationDataForComponents( &self, components: &NSArray ) -> Retained<NSData>
๐Deprecated: Use NSXPCConnection instead
Available on crate features
NSArray
and NSData
only.unsafe fn authenticateComponents_withData( &self, components: &NSArray, signature: &NSData ) -> bool
๐Deprecated: Use NSXPCConnection instead
Available on crate features
NSArray
and NSData
only.unsafe fn createConversationForConnection( &self, conn: &NSConnection ) -> Retained<AnyObject>
๐Deprecated: Use NSXPCConnection instead
unsafe fn connection_handleRequest( &self, connection: &NSConnection, doreq: &NSDistantObjectRequest ) -> bool
๐Deprecated: Use NSXPCConnection instead