10 #import <kerio/web/idl/SharedStructures.idl>
24 typedef sequence<HomeServer> HomeServerList;
26 enum ClusterErrorType {
30 clConnectToSlaveError,
32 clInvalidUserOrPassword,
33 clIncorrectClusterVersion,
35 clDirServiceRemoteEmpty,
36 clDirServiceLocalEmpty,
40 enum ClusterConflictTarget {
49 ClusterConflictTarget type;
55 typedef sequence<ClusterConflict> ClusterConflictList;
58 ClusterErrorType type;
77 typedef sequence<kerio::web::LocalizableMessage> LocalizableMessageList;
79 enum ClusterDomainStatus {
93 ClusterDomainStatus domainStatus;
102 typedef sequence<ClusterServer> ClusterServerList;
113 void connect(out
ClusterError result, in
string hostName, in
string adminUser, in
string password);
120 void copy(in
string domainName);
134 void getDistributable(out kerio::web::StringList domainNames, in
ClusterAuthentication authentication, in
boolean connected);
139 void getRole(out ClusterRole role, out
boolean isMultiServer);
146 void getServerList(out ClusterServerList servers);
153 void getHomeServerList(out HomeServerList servers);
163 void getStatus(out
boolean isInCluster, out
boolean isError);