summaryrefslogtreecommitdiffstats
path: root/avahi-sharp/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-sharp/Client.cs')
-rw-r--r--avahi-sharp/Client.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/avahi-sharp/Client.cs b/avahi-sharp/Client.cs
index cc77cf8..5734f01 100644
--- a/avahi-sharp/Client.cs
+++ b/avahi-sharp/Client.cs
@@ -50,12 +50,18 @@ namespace Avahi
IPv4 = 0,
IPv6 = 1
}
-
- public enum ClientState {
+
+ internal enum ServerState {
Invalid,
Registering,
Running,
- Collision,
+ Collision
+ }
+
+ public enum ClientState {
+ Registering = ServerState.Registering,
+ Running = ServerState.Running,
+ Collision = ServerState.Collision,
Disconnected = 100
}