Lines Matching defs:client
39 IrDAUserClient *client = NULL;
41 ELG( 0, type, 'irda', "new user client" );
43 // Check that this is a user client type that we support.
53 // Construct a new client instance for the requesting task.
54 // This is, essentially client = new IrDAUserClient;
56 // client->setTask(owningTask)
57 client = IrDAUserClient::withTask(owningTask);
58 if (client == NULL) {
60 ELG(0, 0, 'irda', "Can not create user client");
64 // Attach client to our nub.
65 if (client->attach(fNub) == false) {
67 ELG(0, 0, 'irda', "Can not attach user client");
71 // Start the client so it can accept requests.
72 if (client->start(fNub) == false) {
74 ELG(0, 0, 'irda', "Can not start user client");
77 if (ioReturn != kIOReturnSuccess && client != NULL) {
78 client->detach(fNub);
79 client->release();
81 *handler = client;