Browse Source

Endpoint fix

0.1
Pedro Berrocal 5 years ago
parent
commit
94b668f656
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Server.cpp

+ 1
- 1
src/Server.cpp View File

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


Loading…
Cancel
Save