de.knup.jedi.jayshare
Class ServiceLookupList.Service

java.lang.Object
  |
  +--de.knup.jedi.jayshare.ServiceLookupList.Service
Enclosing class:
ServiceLookupList

public static class ServiceLookupList.Service
extends java.lang.Object

Service information.


Field Summary
private  java.lang.String host
          Hostname or IP address (e.g.
private  int port
          Port number the server is listening at.
private  java.lang.String proto
          Protocol (e.g.
 
Constructor Summary
ServiceLookupList.Service(java.lang.String proto, java.lang.String host, int port)
          Create a new Service information entry.
 
Method Summary
 java.lang.String getHostname()
           
 int getPort()
           
 java.lang.String getProtocol()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

proto

private java.lang.String proto
Protocol (e.g. "http" or "ftp")

host

private java.lang.String host
Hostname or IP address (e.g. "gary7.nsa.gov" or "208.47.125.33")

port

private int port
Port number the server is listening at.
Constructor Detail

ServiceLookupList.Service

public ServiceLookupList.Service(java.lang.String proto,
                                 java.lang.String host,
                                 int port)
Create a new Service information entry.
Method Detail

getProtocol

public java.lang.String getProtocol()
Returns:
the protocol name.

getHostname

public java.lang.String getHostname()
Returns:
the hostname.

getPort

public int getPort()
Returns:
the port number.