All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Host

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

public class Host
extends NativeObject
This class wraps the Objective-C class NSHost.


Constructor Index

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

Method Index

 o address()
A wrapper for the - address Objective-C instance method.
 o addresses()
A wrapper for the - addresses Objective-C instance method.
 o currentHost()
A wrapper for the + currentHost Objective-C class method.
 o flushHostCache()
A wrapper for the + flushHostCache Objective-C class method.
 o hostWithAddress(String)
A wrapper for the + hostWithAddress: Objective-C class method.
 o hostWithName(String)
A wrapper for the + hostWithName: Objective-C class method.
 o isEqualToHost(Host)
A wrapper for the - isEqualToHost: Objective-C instance method.
 o isHostCacheEnabled()
A wrapper for the + isHostCacheEnabled Objective-C class method.
 o name()
A wrapper for the - name Objective-C instance method.
 o names()
A wrapper for the - names Objective-C instance method.
 o setHostCacheEnabled(boolean)
A wrapper for the + setHostCacheEnabled: Objective-C class method.

Constructors

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

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

Methods

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

 o hostWithName
 public static native Host hostWithName(String name)
A wrapper for the + hostWithName: Objective-C class method.

 o hostWithAddress
 public static native Host hostWithAddress(String address)
A wrapper for the + hostWithAddress: Objective-C class method.

 o setHostCacheEnabled
 public static native void setHostCacheEnabled(boolean flag)
A wrapper for the + setHostCacheEnabled: Objective-C class method.

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

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

 o isEqualToHost
 public native boolean isEqualToHost(Host aHost)
A wrapper for the - isEqualToHost: Objective-C instance method.

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

 o names
 public native Array names()
A wrapper for the - names Objective-C instance method.

 o address
 public native String address()
A wrapper for the - address Objective-C instance method.

 o addresses
 public native Array addresses()
A wrapper for the - addresses Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index