# Index

G J P S T
All Classes and Interfaces|All Packages

## G

getAliases() - Method in class jnr.netdb.Protocol
  Returns a list of aliases this `Protocol` is also known by.
getAliases() - Method in class jnr.netdb.Service
  Gets a list of aliases this `Service` is also known as.
getAllServices() - Static method in class jnr.netdb.Service
  Returns a list of all services.
getName() - Method in class jnr.netdb.Protocol
  Returns the official IANA name of this `Protocol`
getName() - Method in class jnr.netdb.Service
  Returns the official IANA name of this `Service`
getPort() - Method in class jnr.netdb.Service
  Returns the official IANA port for this `Service`
getProto() - Method in class jnr.netdb.Protocol
  Returns the official IANA protocol number for this `Protocol`
getProtocolByName(String) - Static method in class jnr.netdb.Protocol
  Locates a protocol by name.
getProtocolByNumber(int) - Static method in class jnr.netdb.Protocol
  Locates a protocol by number.
getServiceByName(String, String) - Static method in class jnr.netdb.Service
  Locates a service by name and protocol.
getServiceByPort(int, String) - Static method in class jnr.netdb.Service
  Locates a service by port and protocol.

## J

jnr.netdb - package jnr.netdb

## P

Protocol - Class in jnr.netdb
  An entry in the system protocol database

## S

Service - Class in jnr.netdb
  Holds information about TCP and UDP services on a host.

## T

toString() - Method in class jnr.netdb.Protocol
toString() - Method in class jnr.netdb.Service

G J P S T
All Classes and Interfaces|All Packages