|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portaview.server.PortaViewServer
A server that runs on the remote box that listens to the display call from the source.
Field Summary | |
static java.lang.String |
XRPC_PROTO
|
Constructor Summary | |
PortaViewServer(java.lang.String name,
java.net.InetAddress hostIP,
java.net.InetAddress masterIP,
Repository rep,
int port)
Constructs the an instance of the viewerserver |
Method Summary | |
AlbumCollection |
getAlbums()
|
java.net.InetAddress |
getInetAddress()
|
java.net.InetAddress |
getMasterIP()
|
java.lang.String |
getMasterName()
|
java.lang.String |
getName()
|
PortaViewCollection |
getRegisteredPortaViews()
|
Repository |
getRepository()
|
void |
setAlbums(AlbumCollection collection)
Sets the collection of albums. |
void |
setInetAddress(java.net.InetAddress inetAddress)
Sets the IP address for this server. |
void |
setMasterIP(java.net.InetAddress masterIP)
Sets the master's IP address. |
void |
setMasterName(java.lang.String masterName)
Sets the master's name. |
void |
setName(java.lang.String name)
Sets the name of this PortaView. |
void |
setRegisteredPortaViews(PortaViewCollection collection)
Replace the collection of registered PortaViews with a new collection. |
void |
setRepository(Repository repository)
Sets the repository of photos (on disk). |
void |
shutdown()
Shuts down all servers. |
void |
start()
Starts the XML-RPC server, the update runnder, and slide runner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String XRPC_PROTO
Constructor Detail |
public PortaViewServer(java.lang.String name, java.net.InetAddress hostIP, java.net.InetAddress masterIP, Repository rep, int port)
Method Detail |
public void start() throws java.lang.Exception
java.lang.Exception
- if starting fails.public void shutdown()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- name of PortaView.public java.lang.String getMasterName()
public void setMasterName(java.lang.String masterName)
masterName
- master's name.public java.net.InetAddress getMasterIP()
public void setMasterIP(java.net.InetAddress masterIP)
masterIP
- public java.net.InetAddress getInetAddress()
public void setInetAddress(java.net.InetAddress inetAddress)
inetAddress
- IP address.public Repository getRepository()
public void setRepository(Repository repository)
repository
- repository for photos.public PortaViewCollection getRegisteredPortaViews()
public void setRegisteredPortaViews(PortaViewCollection collection)
collection
- the collection of PortaViews to set to.public AlbumCollection getAlbums()
public void setAlbums(AlbumCollection collection)
collection
- collection of albums.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |