|
Reality Interface Classes | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.northgateis.comms.dda
Class DDAConnectionSpec
java.lang.Object | +--com.northgateis.comms.dda.DDAConnectionSpec
- Direct Known Subclasses:
- RwDatabase
- public class DDAConnectionSpec
- extends java.lang.Object
A class that holds all of the details of a DDATcp connection
Field Summary |
|
|
|
|
|
|
|
|
|
|
|
|
Constructor Summary | |
| |
| |
| |
|
Methods inherited from class java.lang.Object |
|
Field Detail |
DEFAULT_PORT
public static final int DEFAULT_PORT
host
public java.lang.String host
port
public int port
database
public java.lang.String database
user
public java.lang.String user
account
public java.lang.String account
Constructor Detail |
DDAConnectionSpec
public DDAConnectionSpec()
- Create a skeleton connection spec. host defaults to "localhost", port defaults to defaulr DDA port.
DDAConnectionSpec
public DDAConnectionSpec(java.lang.String h, java.lang.String d, java.lang.String u, java.lang.String a)
- Create a connection spec using the default port
- Parameters:
h
- DNS name or TCP address of hostd
- Database name on hostu
- user-id on host/databasea
- Account name on database
DDAConnectionSpec
public DDAConnectionSpec(java.lang.String d, java.lang.String u, java.lang.String a)
- Create a connection spec to localhost using the default port
- Parameters:
d
- Database name on hostu
- user-id on host/databasea
- Account name on database
DDAConnectionSpec
public DDAConnectionSpec(java.lang.String h, int p, java.lang.String d, java.lang.String u, java.lang.String a)
- Create a connection spec to a specified port
- Parameters:
h
- DNS name or TCP address of hostp
- Port number to use on hostd
- Database name on hostu
- user-id on host/databasea
- Account name on database
| Reality Interface Classes | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2000 NEC Software Services (UK) Limited