diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/demo/Ice/session/.depend | 0 | ||||
-rwxr-xr-x | cpp/demo/Ice/session/Makefile | 47 | ||||
-rw-r--r-- | cpp/demo/Ice/session/config | 4 |
3 files changed, 49 insertions, 2 deletions
diff --git a/cpp/demo/Ice/session/.depend b/cpp/demo/Ice/session/.depend new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/cpp/demo/Ice/session/.depend diff --git a/cpp/demo/Ice/session/Makefile b/cpp/demo/Ice/session/Makefile new file mode 100755 index 00000000000..8c428585e4e --- /dev/null +++ b/cpp/demo/Ice/session/Makefile @@ -0,0 +1,47 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = ../../.. + +CLIENT = client +SERVER = server + +TARGETS = $(CLIENT) $(SERVER) + +OBJS = Session.o \ + HelloSession.o + +COBJS = Client.o + +SOBJS = HelloSessionManagerI.o \ + SessionManagerI.o \ + Server.o + +SRCS = $(OBJS:.o=.cpp) \ + $(COBJS:.o=.cpp) \ + $(SOBJS:.o=.cpp) + +SLICE_SRCS = Session.ice \ + HelloSession.ice + +include $(top_srcdir)/config/Make.rules + + +CPPFLAGS := -I. $(CPPFLAGS) +SLICE2CPPFLAGS := -I. $(SLICE2CPPFLAGS) + +$(CLIENT): $(OBJS) $(COBJS) + rm -f $@ + $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LIBS) + +$(SERVER): $(OBJS) $(SOBJS) + rm -f $@ + $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(SOBJS) $(LIBS) + +include .depend diff --git a/cpp/demo/Ice/session/config b/cpp/demo/Ice/session/config index 9d5e9696eb9..35c59944dcd 100644 --- a/cpp/demo/Ice/session/config +++ b/cpp/demo/Ice/session/config @@ -2,14 +2,14 @@ # The client reads this property to create the reference to the # "SessionManager" object in the server. # -SessionManager.Proxy=SessionManager:tcp -p 10000:udp -p 10000:ssl -p 10001 +SessionManager.Proxy=SessionManager:default -p 10000 # # The server creates one single object adapter with the name # "SessionManager". The following line sets the endpoints for this # adapter. # -SessionManager.Endpoints=tcp -p 10000:udp -p 10000:ssl -p 10001 +SessionManager.Endpoints=default -p 10000 # # Warn about connection exceptions |