Changeset 19049 for trunk/FACT++
- Timestamp:
- 07/12/18 14:33:59 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/tngweather.cc
r18339 r19049 11 11 #include "StateMachineDim.h" 12 12 #include "StateMachineAsio.h" 13 #include "Connection .h"13 #include "ConnectionSSL.h" 14 14 #include "LocalControl.h" 15 15 #include "Configuration.h" … … 31 31 32 32 33 class ConnectionWeather : public Connection 33 class ConnectionWeather : public ConnectionSSL 34 34 { 35 35 uint16_t fInterval; … … 309 309 } 310 310 311 if ( !is_open())311 if (IsClosed()) 312 312 { 313 313 // For example: Here we could schedule a new accept if we … … 341 341 342 342 public: 343 ConnectionWeather(ba::io_service& ioservice, MessageImp &imp) : Connection (ioservice, imp()),343 ConnectionWeather(ba::io_service& ioservice, MessageImp &imp) : ConnectionSSL(ioservice, imp()), 344 344 fIsVerbose(true), fDust(-1), 345 345 fLastReport(Time::none), fLastReception(Time::none), fLastSeeing(Time::none), … … 352 352 { 353 353 fIsVerbose = b; 354 Connection ::SetVerbose(b);354 ConnectionSSL::SetVerbose(b); 355 355 } 356 356 … … 553 553 control.add_options() 554 554 ("no-dim,d", po_switch(), "Disable dim services") 555 ("addr,a", var<string>("tngweb.tng.iac.es: 80"), "Network address of Cosy")555 ("addr,a", var<string>("tngweb.tng.iac.es:443"), "Network address of Cosy") 556 556 ("url,u", var<string>("/api/meteo/weather/feed.xml"), "File name and path to load") 557 557 ("quiet,q", po_bool(true), "Disable printing contents of all received messages (except dynamic data) in clear text.")
Note:
See TracChangeset
for help on using the changeset viewer.