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ยง

source

unsafe fn makeNewConnection_sender( &self, conn: &NSConnection, ancestor: &NSConnection ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use NSXPCConnection instead
source

unsafe fn connection_shouldMakeNewConnection( &self, ancestor: &NSConnection, conn: &NSConnection ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use NSXPCConnection instead
source

unsafe fn authenticationDataForComponents( &self, components: &NSArray ) -> Retained<NSData>
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use NSXPCConnection instead
Available on crate features NSArray and NSData only.
source

unsafe fn authenticateComponents_withData( &self, components: &NSArray, signature: &NSData ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use NSXPCConnection instead
Available on crate features NSArray and NSData only.
source

unsafe fn createConversationForConnection( &self, conn: &NSConnection ) -> Retained<AnyObject>
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use NSXPCConnection instead
source

unsafe fn connection_handleRequest( &self, connection: &NSConnection, doreq: &NSDistantObjectRequest ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use NSXPCConnection instead

Trait Implementationsยง

sourceยง

impl ProtocolType for dyn NSConnectionDelegate

sourceยง

const NAME: &'static str = "NSConnectionDelegate"

The name of the Objective-C protocol that this type represents.
sourceยง

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
sourceยง

impl<T> ImplementedBy<T> for dyn NSConnectionDelegate

Implementations on Foreign Typesยง

sourceยง

impl<T> NSConnectionDelegate for ProtocolObject<T>

Implementorsยง