cz.cuni.amis.nb.api.pogamut.base.server
Interface ServersManager<T extends ServerDefinition>

Package class diagram package ServersManager
All Known Implementing Classes:
DefaultServersManager

public interface ServersManager<T extends ServerDefinition>

Manager for all instances of servers of the same type.

Author:
ik

Method Summary
 void deserialize()
          TODO
 cz.cuni.amis.utils.collections.ObservableCollection<T> getAllServers()
          Returns collection of all servers.
 cz.cuni.amis.utils.flag.Flag<T> getDefaultServer()
          Returns the default server.
 String getServerType()
          String type of the servers.
 void removeServer(T server)
          Removes this servel from the list.
 void serialize()
           
 

Method Detail

getDefaultServer

cz.cuni.amis.utils.flag.Flag<T> getDefaultServer()
Returns the default server. This server can be used as target for some actions.

Returns:

getAllServers

cz.cuni.amis.utils.collections.ObservableCollection<T> getAllServers()
Returns collection of all servers.

Returns:

deserialize

void deserialize()
TODO


serialize

void serialize()

getServerType

String getServerType()
String type of the servers. Usually a protocol that they can handle.

Returns:

removeServer

void removeServer(T server)
Removes this servel from the list.

Parameters:
server -


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.