Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
9 |
Mach Kit
Classes
NXConditionLock |
Inherits From: | Object | |
Conforms To: | NXLock |
Initializing an Instance |
![]() |
Initialize a condition lock | |
![]() |
Initialize and set condition |
Get the Condition of the Lock |
![]() |
Return the condition |
Acquire or Release the Lock |
![]() |
Grab the lock | |
![]() |
Wait for the condition | |
![]() |
Release the lock | |
![]() |
Release and set the condition |
NXData |
Inherits From: | Object | |
Conforms To: | NXTransport |
Transporting Data |
![]() |
Has the data copied across a connection | |
![]() |
||
![]() |
||
![]() |
||
![]() |
Encodes the data across a connection | |
![]() |
Encodes the data across a connection |
Initializing and Freeing Instances |
![]() |
Allocates memory for data | |
![]() |
Wraps preexisting data | |
![]() |
||
![]() |
||
![]() |
Frees the object |
Getting the Object's Data |
![]() |
Returns the data |
Getting the Data's Size |
![]() |
Returns the size of the data |
Copying the Object |
![]() |
Copies the object |
NXInvalidationNotifier |
Inherits From: | Object | |
Conforms To: | NXReference |
Counting References |
![]() |
Adds a reference | |
![]() |
Removes a reference, but doesn't free object | |
![]() |
Returns number of references |
Initializing a New Object |
![]() |
Initializes an instance |
Really Freeing an Object |
![]() |
Frees an instance |
Getting and Setting Validity |
![]() |
Marks the object as invalid | |
![]() |
Returns whether object is valid |
Invalidation Notification |
![]() |
Ensures object will be notified when receiver dies | |
![]() |
||
![]() |
Removes object for notification list | |
![]() |
NXLock |
Inherits From: | Object | |
Conforms To: | NXLock |
Acquire or Release a Lock |
![]() |
Grab the lock | |
![]() |
Release the lock |
NXNetNameServer |
Inherits From: | Object |
Making a Port Available |
+ checkInPort:(NXPort *)nxport | Advertises a port | |
![]() |
Removing a Port |
+ checkOutPortWithName: | Withdraws a port from public display | |
![]() |
Getting Ports |
+ (NXPort *) lookUpPortWithName: | Finds a port on the local host | |
![]() |
||
+ (NXPort *) lookUpPortWithName: | Finds a port on a named host | |
![]() |
||
![]() |
NXPort |
Inherits From: | NXInvalidationNotifier : Object | |
Conforms To: | NXReference (NXInvalidationNotifier) NXTransport |
Transporting Ports |
![]() |
Has the port copied across a connection | |
![]() |
||
![]() |
||
![]() |
||
![]() |
Encodes the port across a connection | |
![]() |
Encodes the port across a connection |
Creating an NXPort |
+ new | Creates a new NXPort object | |
+ newFromMachPort:(port_t) p | Wraps an existing port | |
+ newFromMachPort:(port_t) p | Wraps an existing port | |
![]() |
Freeing an NXPort |
![]() |
Frees an NXPort object |
Listening for Port Deaths |
+ worryAboutPortInvalidation | Forks a thread to listen for port deaths |
Identifying the Mach Port |
![]() |
Returns the embedded mach port | |
![]() |
Returns a hashtable value for the object |
NXProtocolChecker |
Inherits From: | Object |
Initializing a Protocol Checker |
![]() |
Initializes a new object | |
![]() |
Reimplemented Object Methods |
![]() |
Passes allowed messages to its delegate |
![]() |
descriptionForMethod:(SEL)sel | Required for the run-time system |
![]() |
Frees the checker and/or its delegate |
NXRecursiveLock |
Inherits From: | Object | |
Conforms To: | NXLock |
Acquire or Release a Lock |
![]() |
Grab the lock | |
![]() |
Release the lock |
NXSpinLock |
Inherits From: | Object | |
Conforms To: | NXLock |
Acquire or Release a Lock |
![]() |
Grab the lock | |
![]() |
Release the lock |