All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.PortNameServer

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.PortNameServer

public class PortNameServer
extends NativeObject
This class wraps the Objective-C class NSPortNameServer.


Constructor Index

 o PortNameServer()
This default constructor is equivalent to Objective-C's [[NSPortNameServer alloc] init].
 o PortNameServer(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o defaultPortNameServer()
A wrapper for the + defaultPortNameServer Objective-C class method.
 o portForName(String)
A wrapper for the - portForName: Objective-C instance method.
 o portForNameOnHost(String, String)
A wrapper for the - portForName:host: Objective-C instance method.
 o registerPortForName(Port, String)
A wrapper for the - registerPort:name: Objective-C instance method.
 o removePortForName(String)
A wrapper for the - removePortForName: Objective-C instance method.

Constructors

 o PortNameServer
 protected PortNameServer(boolean shouldAllocate,
                          int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o PortNameServer
 public PortNameServer()
This default constructor is equivalent to Objective-C's [[NSPortNameServer alloc] init].

Methods

 o defaultPortNameServer
 public static native Object defaultPortNameServer()
A wrapper for the + defaultPortNameServer Objective-C class method.

 o portForName
 public native Port portForName(String name)
A wrapper for the - portForName: Objective-C instance method.

 o portForNameOnHost
 public native Port portForNameOnHost(String name,
                                      String host)
A wrapper for the - portForName:host: Objective-C instance method.

 o registerPortForName
 public native boolean registerPortForName(Port port,
                                           String netName)
A wrapper for the - registerPort:name: Objective-C instance method.

 o removePortForName
 public native void removePortForName(String key)
A wrapper for the - removePortForName: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index