#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/facades/NetworkFacade.h>
Definition at line 37 of file NetworkFacade.h.
 
      
        
          | i6e::api::NetworkFacade::NetworkFacade | ( |  | ) |  | 
      
 
 
      
        
          | i6e::api::NetworkFacade::~NetworkFacade | ( |  | ) |  | 
      
 
 
      
        
          | bool i6e::api::NetworkFacade::connect | ( | const core::IPKey | remoteIP, | 
        
          |  |  | const uint16_t | localPort | 
        
          |  | ) |  |  | 
      
 
connects with given local port to the remote IP and the remote port 
 
 
      
        
          | void i6e::api::NetworkFacade::disconnect | ( |  | ) |  | 
      
 
disconnects from a multiplayergame 
 
 
      
        
          | void i6e::api::NetworkFacade::enablePing | ( | bool | enabled | ) |  | 
      
 
Enables the ping-time measure. 
 
 
  
  | 
        
          | std::string i6e::api::NetworkFacade::getSimpleIP | ( |  | ) | const |  | inline | 
 
returns the IP without Port as a string 
Definition at line 50 of file NetworkFacade.h.
 
 
      
        
          | bool i6e::api::NetworkFacade::listen | ( | const uint16_t | localPort | ) |  | 
      
 
 
      
        
          | void i6e::api::NetworkFacade::publish | ( | uint16_t | channel, | 
        
          |  |  | const GameMessage::Ptr & | msg | 
        
          |  | ) |  |  | 
      
 
publishes on given channel 
 
 
      
        
          | void i6e::api::NetworkFacade::registerConnectCallback | ( | const boost::function< bool(const core::IPKey &, const core::IPKey &)> & | f | ) |  | 
      
 
registers a callback for connect, call only by networking subsystem 
 
 
      
        
          | void i6e::api::NetworkFacade::registerDisconnectCallback | ( | const boost::function< void(void)> & | f | ) |  | 
      
 
registers a callback for disconnect, call only by networking subsystem 
 
 
      
        
          | void i6e::api::NetworkFacade::registerPublishCallback | ( | const boost::function< void(uint16_t, const GameMessage::Ptr &)> & | f | ) |  | 
      
 
registers a callback for publish, call only by networking subsystem 
 
 
      
        
          | void i6e::api::NetworkFacade::registerSubscribeCallback | ( | const boost::function< void(uint16_t)> & | f | ) |  | 
      
 
registers a callback for subscribe, call only by networking subsystem 
 
 
      
        
          | void i6e::api::NetworkFacade::registerUnsubscribeCallback | ( | const boost::function< void(uint16_t)> & | f | ) |  | 
      
 
registers a callback for unsubscribe, call only by networking subsystem 
 
 
      
        
          | void i6e::api::NetworkFacade::resetSubSystem | ( |  | ) |  | 
      
 
resets the subsystem to it's defaults 
 
 
      
        
          | void i6e::api::NetworkFacade::subscribe | ( | uint16_t | channel | ) |  | 
      
 
subscribes on given channel 
 
 
      
        
          | void i6e::api::NetworkFacade::unsubscribe | ( | uint16_t | channel | ) |  | 
      
 
unsubscribes from given channel 
 
 
The documentation for this class was generated from the following file: