• R/O
  • SSH
  • HTTPS

tidesnet: Commit


Commit MetaInfo

Revision89 (tree)
Time2020-10-02 17:11:33
Authorquiret

Log Message

- adjustments for the new Eir SDK version

Change Summary

Incremental Difference

--- server_backbone/src/main.cpp (revision 88)
+++ server_backbone/src/main.cpp (revision 89)
@@ -128,7 +128,7 @@
128128
129129 // Do the regular runtime.
130130 TidesNetwork::NetSocket *accSocket = nullptr;
131-
131+
132132 try
133133 {
134134 accSocket = th_listener->Accept();
@@ -237,7 +237,7 @@
237237
238238 if ( listenerThread == nullptr )
239239 {
240- throw eir_exception(); // "could not create listener thread"
240+ throw eir::eir_exception(); // "could not create listener thread"
241241 }
242242
243243 socket_listener *listen_info = this->threadPluginSocketListener.GetPluginStruct( listenerThread );
@@ -271,7 +271,7 @@
271271 // If we are not running then this makes no sense.
272272 if ( this->isRunning == false )
273273 {
274- throw eir_exception(); // ( "server is not running" );
274+ throw eir::eir_exception(); // ( "server is not running" );
275275 }
276276
277277 TidesNetwork::TidesNet *netMan = this->netMan;
@@ -288,7 +288,7 @@
288288 // If we are not running then this makes no sense.
289289 if ( this->isRunning == false )
290290 {
291- throw eir_exception(); //( "server is not running" );
291+ throw eir::eir_exception(); //( "server is not running" );
292292 }
293293
294294 TidesNetwork::TidesNet *netMan = this->netMan;
@@ -305,7 +305,7 @@
305305 // If we are not running then this makes no sense.
306306 if ( this->isRunning == false )
307307 {
308- throw eir_exception(); //( "server is not running" );
308+ throw eir::eir_exception(); //( "server is not running" );
309309 }
310310
311311 TidesNetwork::TidesNet *netMan = this->netMan;
@@ -322,7 +322,7 @@
322322 // If we are not running then this makes no sense.
323323 if ( this->isRunning == false )
324324 {
325- throw eir_exception(); //( "server is not running" );
325+ throw eir::eir_exception(); //( "server is not running" );
326326 }
327327
328328 TidesNetwork::TidesNet *netMan = this->netMan;
@@ -330,4 +330,4 @@
330330 TidesNetwork::ConnReceiver *new_listener = netMan->CreateNetListener( bindAddr, port, protoType );
331331
332332 this->ConsumeNetListener( new_listener );
333-}
\ No newline at end of file
333+}
Show on old repository browser