public class HostStore
extends org.jboss.gwt.circuit.ChangeSupport
| Modifier and Type | Class and Description |
|---|---|
class |
HostStore.NoHostsAvailable |
class |
HostStore.Topology
A mapping of hosts and _active_ servers
|
| Constructor and Description |
|---|
HostStore(DispatchAsync dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getHostNames() |
String |
getSelectedHost() |
String |
getSelectedServer() |
HostStore.Topology |
getTopology() |
boolean |
hasSelectedServer() |
boolean |
hasSelecteHost() |
void |
init(com.google.gwt.user.client.rpc.AsyncCallback<Set<String>> callback) |
void |
onRefreshHosts(org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
onRefreshServer(org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
onRemoveServer(Server server,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
onSelectedServer(String server,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
onSelectHost(String hostName,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
@Inject public HostStore(DispatchAsync dispatcher)
public void onRefreshServer(org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void onRemoveServer(Server server, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void onRefreshHosts(org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void onSelectHost(String hostName, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void onSelectedServer(String server, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public boolean hasSelectedServer()
public String getSelectedServer()
public HostStore.Topology getTopology()
public boolean hasSelecteHost()
public String getSelectedHost()
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.