public class OnlineInfo
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(OnlineInfoListener listener) |
void |
addService(OnlineService newService)
Add a new service.
|
boolean |
containsService(OnlineService service)
returns true if the service information for this service is
already in the service list.
|
StreamTable |
getInfo()
Should only be called from the io.*Writer classes for
saving info in a file.
|
OnlineService |
getService(int i)
Get a service object for the service at the specified index.
|
OnlineService |
getServiceById(java.lang.String serviceId) |
int |
getServiceCount()
Get the number of online services that the user has
access to.
|
void |
removeListener(OnlineInfoListener listener) |
void |
removeService(int i)
Remove the service object at the specified index.
|
void |
setInfo(StreamTable newInfo)
Should only be called from the io.*Reader classes for
reading info from a file.
|
public StreamTable getInfo()
public void setInfo(StreamTable newInfo)
public int getServiceCount()
public OnlineService getService(int i)
public boolean containsService(OnlineService service)
public OnlineService getServiceById(java.lang.String serviceId)
public void removeService(int i)
public void addService(OnlineService newService)
public void addListener(OnlineInfoListener listener)
public void removeListener(OnlineInfoListener listener)