XGController(XGControllerCreation)

Extends Class:
Declared In:

Overview

Convenience creation methods.

Discussion

XGControllerCreation



Methods

+controllerWithHostname:portnumber:

Returns an instance initialized with a connection to the specified hostname and portnumber.

+controllerWithNetService:

Returns an instance initialized with a connection to the specified net service.

+defaultController

Returns an instance initialized with a connection to the default controller. If no default controller has been set then this is equivalent to calling +privateController.

+privateController

Returns an instance initialized with a connection to a private controller. This controller is not shared with anyone else, and has its own private agent.


controllerWithHostname:portnumber:


Returns an instance initialized with a connection to the specified hostname and portnumber.

+ (id)controllerWithHostname:(NSString *)hostname portnumber:(UInt32)portnumber; 


controllerWithNetService:


Returns an instance initialized with a connection to the specified net service.

+ (id)controllerWithNetService:(NSNetService *)netService; 


defaultController


Returns an instance initialized with a connection to the default controller. If no default controller has been set then this is equivalent to calling +privateController.

+ (id)defaultController; 


privateController


Returns an instance initialized with a connection to a private controller. This controller is not shared with anyone else, and has its own private agent.

+ (id)privateController; 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-08-12