Browse Source

Por fin

0.1
Pedro Berrocal 5 years ago
parent
commit
3596c5c123
3 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/Server.cpp
  2. BIN
      src/Server.o
  3. BIN
      src/server

+ 3
- 3
src/Server.cpp View File

@ -23,11 +23,11 @@ main(int argc, char* argv[])
try
{
Ice::CommunicatorHolder ich(argc, argv);
auto adapter = ich->createObjectAdapterWithEndpoints("SimplePrinterAdapter", "default -p 10000");
cout << "\n Test server for MW | pedro@defaultdrop.net " << endl;
auto adapter = ich->createObjectAdapterWithEndpoints("SimplePrinterAdapter", "ws -p 10000");
auto servant = make_shared<PrinterI>();
adapter->add(servant, Ice::stringToIdentity("SimplePrinter"));
adapter->add(servant, Ice::stringToIdentity("print"));
adapter->activate();
cout << "\n +++> Test server for MagicWorld <+++ \n" << endl;
ich->waitForShutdown();
}


BIN
src/Server.o View File


BIN
src/server View File


Loading…
Cancel
Save