Barrier client that manages a connection with a Barrier server.  
 More...
#include <BarrierInputClient.h>
 | 
| 
  | AZ_CLASS_ALLOCATOR (BarrierClient, AZ::SystemAllocator) | 
|   | 
|   | BarrierClient (const char *clientScreenName, const char *serverHostName, AZ::u32 connectionPort=DEFAULT_BARRIER_CONNECTION_PORT_NUMBER) | 
|   | 
| 
  | ~BarrierClient () | 
|   | Destructor. 
  | 
|   | 
| const AZStd::string &  | GetClientScreenName () const | 
|   | 
| const AZStd::string &  | GetServerHostName () const | 
|   | 
| const AZSOCKET &  | GetSocket () const | 
|   | 
 | 
| 
static constexpr AZ::u32  | DEFAULT_BARRIER_CONNECTION_PORT_NUMBER = 24800 | 
|   | 
 | 
| 
void  | Run () | 
|   | The client connection loop that runs in it's own thread. 
  | 
|   | 
| bool  | ConnectToServer () | 
|   | 
Barrier client that manages a connection with a Barrier server. 
 
◆ BarrierClient()
      
        
          | BarrierInput::BarrierClient::BarrierClient  | 
          ( | 
          const char *  | 
          clientScreenName,  | 
        
        
           | 
           | 
          const char *  | 
          serverHostName,  | 
        
        
           | 
           | 
          AZ::u32  | 
          connectionPort = DEFAULT_BARRIER_CONNECTION_PORT_NUMBER  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor 
- Parameters
 - 
  
    | [in] | clientScreenName | Name of the Barrier client screen this class implements  | 
    | [in] | serverHostName | Name of the Barrier server host this client connects to  | 
    | [in] | connectionPort | Port number over which to connect to the Barrier server  | 
  
   
 
 
◆ ConnectToServer()
  
  
      
        
          | bool BarrierInput::BarrierClient::ConnectToServer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Try to connect to the Barrier server 
- Returns
 - True if we're connected to the Barrier server, false otherwise 
 
 
 
◆ GetClientScreenName()
  
  
      
        
          | const AZStd::string & BarrierInput::BarrierClient::GetClientScreenName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Access to the Barrier client screen this class implements 
- Returns
 - Name of the Barrier client screen this class implements 
 
 
 
◆ GetServerHostName()
  
  
      
        
          | const AZStd::string & BarrierInput::BarrierClient::GetServerHostName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Access to the Barrier server host this client connects to 
- Returns
 - Name of the Barrier server host this client connects to 
 
 
 
◆ GetSocket()
  
  
      
        
          | const AZSOCKET & BarrierInput::BarrierClient::GetSocket  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Access to the socket the Barrier client is communicating over 
- Returns
 - The socket the Barrier client is communicating over 
 
 
 
The documentation for this class was generated from the following file:
- Gems/BarrierInput/Code/Source/BarrierInputClient.h