Browse Source

Glacier router config

master
Pedro Berrocal 5 years ago
parent
commit
d9132e50f3
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      src/Makefile
  2. +1
    -1
      src/config.glacier2router

+ 3
- 3
src/Makefile View File

@ -5,19 +5,19 @@ CFLAGS=-I. -DICE_CPP11_MAPPING -I $(IDIR) -std=c++11 -pthread
ODIR=obj
LDIR =../lib
LIBS=-lm -lIce++11
LIBS=-lIce++11
_DEPS = MW.h MWMap.h MWSession.h MWSessionI.h MWSessionManagerI.h
DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS))
_OBJ = MW.o MWServer.o MWMap.o MWSession.o MWSessionManagerI.o MWUtils.o
_OBJ = MW.o MWServer.o MWMap.o MWSession.o MWSessionManagerI.o MWUtils.o
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
$(ODIR)/%.o: %.cpp $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
mwserver: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
$(CC) -o $@ $^ -lIce++11 -std=c++11 -pthread
slice:
slice2cpp -I. -I../../ice/slice *.ice


+ 1
- 1
src/config.glacier2router View File

@ -21,7 +21,7 @@ Glacier2.Server.Endpoints=tcp -h 127.0.0.1
#
# The proxy of the session manager.
#
Glacier2.SessionManager=ChatSessionManager:tcp -h 127.0.0.1 -p 10001
Glacier2.SessionManager=MWSessionManager:tcp -h 127.0.0.1 -p 10001
#
# Accept only requests to the machine where the session manager is


Loading…
Cancel
Save