summaryrefslogtreecommitdiff
path: root/js/demo/ChatDemo/Chat.ice
diff options
context:
space:
mode:
Diffstat (limited to 'js/demo/ChatDemo/Chat.ice')
-rw-r--r--js/demo/ChatDemo/Chat.ice42
1 files changed, 42 insertions, 0 deletions
diff --git a/js/demo/ChatDemo/Chat.ice b/js/demo/ChatDemo/Chat.ice
new file mode 100644
index 00000000000..944e903e791
--- /dev/null
+++ b/js/demo/ChatDemo/Chat.ice
@@ -0,0 +1,42 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
+//
+// This copy of Chat Demo is licensed to you under the terms described
+// in the CHAT_DEMO_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef CHAT_ICE
+#define CHAT_ICE
+
+
+/**
+ *
+ * The Chat module defines types shared by definitions from
+ * ChatSession.ice and PollingChat.ice.
+ *
+ **/
+module Chat
+{
+
+/**
+ *
+ * The InvalidMessageException is raised when a user sends an invalid
+ * message to the server. A message is considered invalid if the
+ * message size exceeds the maximum message size.
+ *
+ **/
+exception InvalidMessageException
+{
+ /**
+ *
+ * The reason why the message was rejected by the server.
+ *
+ **/
+ string reason;
+};
+
+};
+
+#endif