anvil.core.net
Class NetModule

java.lang.Object
  |
  +--anvil.core.net.NetModule

public class NetModule
extends java.lang.Object


Field Summary
static NativeNamespace __module__
           
static Any ECHO_PORT
           
static Any FINGER_PORT
           
static Any FTP_PORT
           
static Any HTTP_PORT
           
static Any HTTPS_PORT
           
static Any IMAP2_PORT
           
static Any IMAP3_PORT
           
static Any IRC_PORT
           
static Any NAMESERVER_PORT
           
static Any NNTP_PORT
           
static java.lang.Object[] p_getAllByName
           
static java.lang.Object[] p_getByName
           
static Any POP2_PORT
           
static Any POP3_PORT
           
static Any PRINTER_PORT
           
static Any SMTP_PORT
           
static Any SSH_PORT
           
static Any TELNET_PORT
           
static Any WHO_PORT
           
static Any WHOIS_PORT
           
 
Constructor Summary
NetModule()
           
 
Method Summary
static Any getAllByName(Context context, java.lang.String host)
           
static Any getByName(Context context, java.lang.String host)
           
static Any getLocalHost(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECHO_PORT

public static final Any ECHO_PORT

FTP_PORT

public static final Any FTP_PORT

SSH_PORT

public static final Any SSH_PORT

TELNET_PORT

public static final Any TELNET_PORT

SMTP_PORT

public static final Any SMTP_PORT

NAMESERVER_PORT

public static final Any NAMESERVER_PORT

WHOIS_PORT

public static final Any WHOIS_PORT

FINGER_PORT

public static final Any FINGER_PORT

HTTP_PORT

public static final Any HTTP_PORT

HTTPS_PORT

public static final Any HTTPS_PORT

NNTP_PORT

public static final Any NNTP_PORT

POP2_PORT

public static final Any POP2_PORT

POP3_PORT

public static final Any POP3_PORT

IMAP2_PORT

public static final Any IMAP2_PORT

IMAP3_PORT

public static final Any IMAP3_PORT

IRC_PORT

public static final Any IRC_PORT

WHO_PORT

public static final Any WHO_PORT

PRINTER_PORT

public static final Any PRINTER_PORT

p_getByName

public static final java.lang.Object[] p_getByName

p_getAllByName

public static final java.lang.Object[] p_getAllByName

__module__

public static final NativeNamespace __module__
Constructor Detail

NetModule

public NetModule()
Method Detail

getLocalHost

public static final Any getLocalHost(Context context)

getByName

public static final Any getByName(Context context,
                                  java.lang.String host)

getAllByName

public static final Any getAllByName(Context context,
                                     java.lang.String host)