Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
6 |
Distributed Objects
Classes
NXConnection |
Inherits From: | NXInvalidationNotifier : Object | |
Conforms To: | NXSenderIsInvalid NXReference (NXInvalidationNotifier) |
Establishing a Connection |
+ (NXProxy *)connectToName:(const char *)n | Connects to the named object | |
+ (NXProxy *)connectToName:(const char *)n | Connects to the named object | |
![]() |
||
+ (NXProxy *)connectToName:(const char *)n | Connects to the named object | |
![]() |
||
+ (NXProxy *)connectToName:(const char *)n | Connects to the named object | |
![]() |
||
![]() |
||
+ (NXProxy *)connectToPort:(NXPort *)p | Connects over the specified port | |
+ (NXProxy *)connectToPort:(NXPort *)p | Connects over the specified port | |
![]() |
||
+ (NXProxy *)connectToPort:(NXPort *)aPort | Connects over the specified port | |
![]() |
||
+ (NXProxy *)connectToPort:(NXPort *)aPort | Connects over the specified port | |
![]() |
||
![]() |
Ascertaining Connections |
+ connections:(List *)l | Returns all connections |
Registering an Object |
+ registerRoot:anObject | Establishes a root object | |
+ registerRoot:anObject | Establishes a root object | |
![]() |
||
+ registerRoot:anObject | Establishes a named root object | |
![]() |
||
+ registerRoot:anObject | Establishes a named root object | |
![]() |
||
![]() |
Eliminating References |
+ removeObject:anObject | Removes an object from all connections |
Invalidation |
+ unregisterForInvalidationNotification: | Unregisters an object for notifications | |
![]() |
Statistics |
+ (int)messagesReceived | Number of messages received over connection |
Timeouts |
+ setDefaultTimeout:(int)t | Sets default timeout for all connections | |
+ (int)defaultTimeout | Returns default timeout for all connections | |
![]() |
Sets in timeout | |
![]() |
Sets out timeout | |
![]() |
Returns in timeout | |
![]() |
Returns out timeout |
Zone Usage |
+ setDefaultZone: (NXZone *)zone | Sets default zone for all connections | |
![]() |
Returns default zone for all connections |
Assigning a Delegate |
![]() |
Sets the connection's delegate | |
![]() |
Returns the connection's delegate |
Returning Port Objects |
![]() |
Returns the connection's in port | |
![]() |
Returns the connection's out port |
Getting and Setting the Root Object |
![]() |
Returns the connection's root object | |
![]() |
Sets the connection's root object |
Imported and Exported Objects |
![]() |
Returns the connection's remote proxies | |
![]() |
Returns the connection's local proxies |
Returning a Proxy |
![]() |
Returns an object's local proxy | |
![]() |
Creates a remote proxy for an object | |
![]() |
Running a Connection |
![]() |
Runs the connection and blocks | |
![]() |
Runs the connection for a while | |
![]() |
Runs the connecion asynchronously | |
![]() |
Runs the connection from DPS client | |
![]() |
Runs the connection from DPS client |
Freeing an NXConnection Instance |
![]() |
Frees the connection |
NXProxy |
Inherits From: | none | |
Conforms To: | NXReference NXTransport |
Counting References |
![]() |
Adds a reference | |
![]() |
Eliminates a reference | |
![]() |
Returns number of references |
Returning the proxy's connection |
![]() |
Returns the proxy's connection |
Freeing an NXProxy instance |
![]() |
Frees the proxy but not its real object |
Determining if an object is a proxy |
![]() |
Identifies the receiver as a proxy |
Specifying a protocol |
![]() |
Sets the proxy's protocol for efficiency |
Object Additions
Making Objects Distributable |
![]() |
Transports an object using a proxy | |
![]() |
||
![]() |
||
![]() |
||
![]() |
Identifies the receiver as an object |