pub unsafe trait NSConnectionDelegate: NSObjectProtocol {
// Provided methods
fn makeNewConnection_sender(
&self,
conn: &NSConnection,
ancestor: &NSConnection,
) -> bool
where Self: Sized + Message { ... }
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 { ... }
fn createConversationForConnection(
&self,
conn: &NSConnection,
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
fn connection_handleRequest(
&self,
connection: &NSConnection,
doreq: &NSDistantObjectRequest,
) -> bool
where Self: Sized + Message { ... }
}👎Deprecated: Use NSXPCConnection instead
Available on crate feature
NSConnection only.Expand description
Provided Methods§
fn makeNewConnection_sender( &self, conn: &NSConnection, ancestor: &NSConnection, ) -> bool
👎Deprecated: Use NSXPCConnection instead
fn connection_shouldMakeNewConnection( &self, ancestor: &NSConnection, conn: &NSConnection, ) -> bool
👎Deprecated: Use NSXPCConnection instead
Sourceunsafe fn authenticationDataForComponents(
&self,
components: &NSArray,
) -> Retained<NSData>
👎Deprecated: Use NSXPCConnection insteadAvailable on crate features NSArray and NSData only.
unsafe fn authenticationDataForComponents( &self, components: &NSArray, ) -> Retained<NSData>
NSArray and NSData only.§Safety
components generic should be of the correct type.
Sourceunsafe fn authenticateComponents_withData(
&self,
components: &NSArray,
signature: &NSData,
) -> bool
👎Deprecated: Use NSXPCConnection insteadAvailable on crate features NSArray and NSData only.
unsafe fn authenticateComponents_withData( &self, components: &NSArray, signature: &NSData, ) -> bool
NSArray and NSData only.§Safety
components generic should be of the correct type.
fn createConversationForConnection( &self, conn: &NSConnection, ) -> Retained<AnyObject>
👎Deprecated: Use NSXPCConnection instead
fn connection_handleRequest( &self, connection: &NSConnection, doreq: &NSDistantObjectRequest, ) -> bool
👎Deprecated: Use NSXPCConnection instead