KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > net > datagram > DatagramNameService

javax.net.datagram
Class DatagramNameService

java.lang.Object
  |
  +--javax.net.datagram.DatagramNameService
See Also:
DatagramService, Address

public static void addNameService(DatagramNameService service)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected DatagramNameService()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Address lookup(java.lang.String server,
                             java.lang.String service)
                      throws AddressNotSupportedException,
                             MalformedAddressException,
                             java.lang.IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Address[] lookupAll(java.lang.String server,
                                  java.lang.String service)
                           throws AddressNotSupportedException,
                                  MalformedAddressException,
                                  java.lang.IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract Address[] lookupAllServices(java.lang.String server,
                                               java.lang.String service)
                                        throws AddressNotSupportedException,
                                               MalformedAddressException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract Address lookupService(java.lang.String server,
                                         java.lang.String service)
                                  throws AddressNotSupportedException,
                                         MalformedAddressException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void removeNameService(DatagramNameService service)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags