public class PortMapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMAND_SERVICE
Constant representing the System i Remote Command Host Server.
|
static java.lang.String |
DATABASE_SERVICE
Constant representing the System i Database Host Server.
|
static java.lang.String |
DDM_SERVICE
Constant representing the System i DDM/DRDA Host Server.
|
static java.lang.String |
FILE_SERVICE
Constant representing the System i File Host Server.
|
static java.lang.String |
SIGNON_SERVICE
Constant representing the System i Signon Host Server.
|
Modifier and Type | Method and Description |
---|---|
static int |
getPort(java.lang.String system,
java.lang.String service)
Issues a request to the Port Mapper host server on the specified system
to determine the TCP/IP port the specified service is listening on.
|
public static final java.lang.String SIGNON_SERVICE
public static final java.lang.String COMMAND_SERVICE
public static final java.lang.String DDM_SERVICE
public static final java.lang.String FILE_SERVICE
public static final java.lang.String DATABASE_SERVICE