Package apple.fileprovider.protocol
Interface NSFileProviderServiceSource
-
public interface NSFileProviderServiceSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NSXPCListenerEndpointmakeListenerEndpointAndReturnError(org.moe.natj.general.ptr.Ptr<NSError> error)Return an endpoint object to allow the client application to connect to the file provider.java.lang.StringserviceName()The service name that uniquely identifies the service (using reverse domain name notation for you service name is recommended).
-
-
-
Method Detail
-
makeListenerEndpointAndReturnError
NSXPCListenerEndpoint makeListenerEndpointAndReturnError(org.moe.natj.general.ptr.Ptr<NSError> error)
Return an endpoint object to allow the client application to connect to the file provider. The endpoint is retrieved from an anonymous @c NSXPCListener that the file provider creates. The file provider is in charge of accepting incoming [@c] NSXPCConnection's via @c -[NSXPCListenerDelegate listener:shouldAcceptNewConnection:], and setting up properties on the new connection, like its exported object and interfaces (that both the file provider and the client application have agreed on).
-
serviceName
java.lang.String serviceName()
The service name that uniquely identifies the service (using reverse domain name notation for you service name is recommended).
-
-