org.jdesktop.wonderland.client.login
Interface PrimaryServerListener

All Known Implementing Classes:
BaseClientPlugin, CellComponentRegistry, CellRegistry

public interface PrimaryServerListener

This listener is registered with the LoginManager to be notified when the primary server changes. With Wonderland federation, a client may be connected to multiple servers at a time. At any time, however, a single server is considered the "primary" server. This is the server that should be reflected in non-spatial parts of the UI like menus.

This listener will be notified when the primary server changes. Note that the primary server may be null if the client disconnects from all servers.

Author:
kaplanj

Method Summary
 void primaryServer(ServerSessionManager server)
          Called when the primary server changes
 

Method Detail

primaryServer

void primaryServer(ServerSessionManager server)
Called when the primary server changes

Parameters:
server - the session manager for managing sessions connected to the given server


Open Wonderland - http://openwonderland.org