All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lava.net.common.UNA

java.lang.Object
   |
   +----lava.net.common.UNA

public class UNA
extends Object
UNA:
Description of the logical Name of an Object.
Format is similar to URL.
Scheme-Name is psyc://
Objects might be Servers, Groups, Users, Protocols.
Servers: resource=null
Groups: resource begins with '@'
Users: resource begins with '~'
Protocols: resource begins with '$'
Every Object only can have only one UNA.


Constructor Index

 o UNA()
 o UNA(String)
 o UNA(String, InetAddress, int, String, String)
 o UNA(String, String, int, String, String)
 o UNA(UNA, String)

Method Index

 o addAppletHost(InetAddress)
 o addAppletHost(String)
 o cache(String, InetAddress)
 o equals(Object)
 o equalsInHost(UNA)
 o equalsInPort(UNA)
 o equalsInProtocol(UNA)
 o equalsInResource(UNA)
 o equalsInScheme(UNA)
 o getDefaultHost(String)
 o getDefaultPort()
 o getDefaultPort(String)
 o getDefaultProtocol()
 o getDefaultProtocol(String)
 o getDefaultResource()
 o getDefaultResource(String)
 o getDefaultScheme()
 o getHost()
 o getHostAddress()
 o getHostName()
 o getPort()
 o getProtocol()
 o getResource()
 o getScheme()
 o hashCode()
 o isApplet()
 o lookup(InetAddress)
 o lookup(String)
 o master(UNA)
 o masterInResource(UNA)
 o setDefaults(String, InetAddress, int, String, String)
 o setDefaults(String, String, int, String, String)
 o setHost(InetAddress)
 o setHost(String)
 o setPort(int)
 o setProtocol(String)
 o setResource(String)
 o setScheme(String)
 o toString()

Constructors

 o UNA
 public UNA()
 o UNA
 public UNA(String spec)
 o UNA
 public UNA(UNA base,
            String spec)
 o UNA
 public UNA(String scheme,
            String host,
            int port,
            String protocol,
            String resource)
 o UNA
 public UNA(String scheme,
            InetAddress host,
            int port,
            String protocol,
            String resource)

Methods

 o getScheme
 public String getScheme()
 o getHost
 public InetAddress getHost()
 o getHostName
 public String getHostName()
 o getHostAddress
 public String getHostAddress()
 o getPort
 public int getPort()
 o getProtocol
 public String getProtocol()
 o getResource
 public String getResource()
 o setScheme
 protected void setScheme(String newScheme)
 o setHost
 protected void setHost(String newHost)
 o setHost
 protected void setHost(InetAddress newHost)
 o setPort
 protected void setPort(int newPort)
 o setProtocol
 protected void setProtocol(String newProtocol)
 o setResource
 protected void setResource(String newResource)
 o equalsInScheme
 public boolean equalsInScheme(UNA other)
 o equalsInHost
 public boolean equalsInHost(UNA other)
 o equalsInPort
 public boolean equalsInPort(UNA other)
 o equalsInProtocol
 public boolean equalsInProtocol(UNA other)
 o equalsInResource
 public boolean equalsInResource(UNA other)
 o masterInResource
 public boolean masterInResource(UNA other)
 o master
 public boolean master(UNA other)
 o equals
 public boolean equals(Object obj)
Overrides:
equals in class Object
 o hashCode
 public int hashCode()
Overrides:
hashCode in class Object
 o toString
 public String toString()
Overrides:
toString in class Object
 o setDefaults
 public static void setDefaults(String scheme,
                                InetAddress host,
                                int port,
                                String protocol,
                                String resource)
 o setDefaults
 public static void setDefaults(String scheme,
                                String host,
                                int port,
                                String protocol,
                                String resource)
 o getDefaultScheme
 public static String getDefaultScheme()
 o getDefaultHost
 public static String getDefaultHost(String scheme)
 o getDefaultPort
 public static int getDefaultPort(String scheme)
 o getDefaultPort
 public static int getDefaultPort()
 o getDefaultProtocol
 public static String getDefaultProtocol(String scheme)
 o getDefaultProtocol
 public static String getDefaultProtocol()
 o getDefaultResource
 public static String getDefaultResource(String scheme)
 o getDefaultResource
 public static String getDefaultResource()
 o cache
 public static void cache(String name,
                          InetAddress addr)
 o lookup
 public static InetAddress lookup(String name)
 o lookup
 public static String lookup(InetAddress addr)
 o addAppletHost
 public static void addAppletHost(String name)
 o addAppletHost
 public static void addAppletHost(InetAddress addr)
 o isApplet
 public static boolean isApplet()

All Packages  Class Hierarchy  This Package  Previous  Next  Index