|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portaview.server.PortaViewClient
Provides the API for client calls to remote PortaViews.
Constructor Summary | |
PortaViewClient()
The viewer server that contains all data about the connections. |
Method Summary | |
AlbumCollection |
getAlbumsFromMaster()
Returns a list of AlbumModels from the master. |
void |
getPhotoFromMaster(SlideSettings ss,
org.apache.xmlrpc.AsyncCallback callback)
Tries to retrieve the full image from the master. |
void |
getPhotoWithName(java.lang.String album,
java.lang.String name,
org.apache.xmlrpc.AsyncCallback callback)
Retrieves the photo with a given name. |
boolean |
registerWithMaster()
Register this PortaView with the master. |
boolean |
unregisterWithMaster()
Unregister this PortaView with the master. |
void |
updatePortaViewModel(PortaViewModel model)
Updates the remote PortaView model. |
void |
updateRemotePortaView(PortaViewModel pvm)
Updates the remote portaview with the portaview's settings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PortaViewClient()
Method Detail |
public void updatePortaViewModel(PortaViewModel model)
model
- the model to update.public boolean registerWithMaster()
public boolean unregisterWithMaster()
public void getPhotoWithName(java.lang.String album, java.lang.String name, org.apache.xmlrpc.AsyncCallback callback)
album
- album namename
- photo namecallback
- async callback that handles the return of the XML-RPC call.public AlbumCollection getAlbumsFromMaster()
public void updateRemotePortaView(PortaViewModel pvm)
pvm
- PortaViewModel that is used to update the remote PortaView.public void getPhotoFromMaster(SlideSettings ss, org.apache.xmlrpc.AsyncCallback callback)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |