|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--jpa.p1.pub.Publisher
This is the main class in the JPA PlatformOne Publishing package, which is used for subscribing to PlatformOne data. All the other classes are accessed through this one.
The JPA PlatformOne Publishing package, jpa.p1.pub, is implemented as a hierarchical set of pairs of classes and interfaces. There are five fundamental levels of class in this package:
| Constructor Summary | |
Publisher(PublisherEvent event)
This is the sole constructor for Publisher. |
|
| Method Summary | |
void |
addHost(java.lang.String address,
int port)
This method adds a PlatformOne server to the list of alternatives for making a connection to. |
void |
clearHosts()
This method clears the list of alternative PlatformOne server hosts. |
boolean |
connect()
This method attempts to establish a connection to the first available server host. |
boolean |
connectToHost(java.lang.String address,
int port)
This method attempts to establish a connection to the specified PlatformOne server host. |
void |
disconnect()
This method disconnects from the current PlatformOne server host, or abandons connection attempts if there is currently no connection. |
PubDataset |
getDataset(java.lang.String name)
This method gets a reference to an object representing a dataset. |
PubDatasetList |
getDatasetList()
This method gets a reference to the object representing the dataset list. |
java.lang.String |
getUser()
This method gets the current user name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Publisher(PublisherEvent event)
| Method Detail |
public void addHost(java.lang.String address,
int port)
public boolean connect()
public void disconnect()
public boolean connectToHost(java.lang.String address,
int port)
public void clearHosts()
public PubDatasetList getDatasetList()
public PubDataset getDataset(java.lang.String name)
public java.lang.String getUser()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||