summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SUdpClientControlChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/SUdpClientControlChannel.h')
-rw-r--r--cpp/src/Ice/SUdpClientControlChannel.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/cpp/src/Ice/SUdpClientControlChannel.h b/cpp/src/Ice/SUdpClientControlChannel.h
new file mode 100644
index 00000000000..fcace0b1897
--- /dev/null
+++ b/cpp/src/Ice/SUdpClientControlChannel.h
@@ -0,0 +1,63 @@
+// **********************************************************************
+//
+// Copyright (c) 2002
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef ICE_SUDP_CLIENT_CONTROL_CHANNEL_H
+#define ICE_SUDP_CLIENT_CONTROL_CHANNEL_H
+
+#include <Ice/SUdpControlChannel.h>
+#include <Ice/SecureUdp.h>
+
+namespace IceInternal
+{
+
+class SUdpTransceiverPtr;
+
+}
+
+namespace IceSecurity
+{
+
+namespace SecureUdp
+{
+
+using IceInternal::SUdpTransceiver;
+using Ice::Long;
+using Ice::ByteSeq;
+using Ice::Current;
+
+class ClientControlChannel : public ControlChannel, public ClientChannel
+{
+
+public:
+
+ virtual void serverHello(Long, const ByteSeq&, const Current&);
+
+ virtual void serverKeyChange(const ByteSeq&, const Current&);
+
+ virtual void serverGoodbye(const Current&);
+
+protected:
+
+ ClientControlChannel(const SUdpTransceiverPtr&, const InstancePtr&, const std::string&, int);
+
+ virtual ~ClientControlChannel();
+
+ friend IceInternal::SUdpTransceiver;
+
+ std::string _host;
+ int _port;
+ Ice::ObjectAdapterPtr _adapter;
+};
+
+}
+
+}
+
+#endif