|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--jpa.p1.sub.Subscriber
This is the main class in the JPA PlatformOne Subscription package, which is used for subscribing to PlatformOne data. All the other classes are accessed through this one.
The JPA PlatformOne Subscription package, jpa.p1.sub, is implemented as a hierarchical set of pairs of classes and interfaces. There are five fundamental levels of class in this package:
| Constructor Summary | |
Subscriber(SubscriberEvent event)
This is the sole constructor for Subscriber. |
|
| 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. |
SubDataset |
createDataset(java.lang.String name)
This method creates a new dataset object. |
SubDatasetList |
createDatasetList()
This method creates a new dataset list object. |
void |
deleteDataset(SubDataset dataset)
This method deletes a dataset object. |
void |
deleteDatasetList(SubDatasetList list)
This method deletes a dataset list object. |
void |
disconnect()
This method disconnects from the current PlatformOne server host, or abandons connection attempts if there is currently no connection. |
protected void |
finalize()
|
java.lang.String |
getUser()
This method gets the current user name. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Subscriber(SubscriberEvent event)
| Method Detail |
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Object
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 SubDatasetList createDatasetList()
public SubDataset createDataset(java.lang.String name)
public void deleteDataset(SubDataset dataset)
public void deleteDatasetList(SubDatasetList list)
public java.lang.String getUser()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||