CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
inet_IFacade.h
1 /*--------------------------------------------------------------------------------*
2  Copyright (C)Nintendo All rights reserved.
3 
4  These coded instructions, statements, and computer programs contain proprietary
5  information of Nintendo and/or its licensed developers and are protected by
6  national and international copyright laws. They may not be disclosed to third
7  parties or copied or duplicated in any form, in whole or in part, without the
8  prior written consent of Nintendo.
9 
10  The content herein is highly confidential and should be handled accordingly.
11  *--------------------------------------------------------------------------------*/
12 
13 
14 #pragma once
15 
16 #include <nn/pia/inet/inet_Definitions.h>
17 
18 #include <nn/pia/common/common_InetAddress.h>
19 #include <nn/pia/transport/transport_StationLocation.h>
20 
21 namespace nn
22 {
23 namespace pia
24 {
25 namespace inet
26 {
27 //< ! @cond PRIVATE
28 class IFacade : public common::RootObject
29 {
30 public:
31  /*!
32  @brief デストラクタ
33  */
34  virtual ~IFacade()
35  {
36  }
37 
38  virtual uint16_t GetRandomPortRangeMin() const = 0;
39  virtual uint16_t GetRandomPortRangeMax() const = 0;
40  virtual uint16_t GetReservedPort() const = 0;
41 
42  virtual void RelayProbeRequest(const transport::StationLocation& targetLocation, const transport::StationLocation& requesterLocation) = 0;
43  virtual void UpdateRelayTable() = 0;
44  virtual const common::InetAddress& GetRelayServerAddress() const = 0;
45  virtual ServerConnectionId GetLocalServerConnectionId() const = 0;
46  virtual bool IsBeginMonitoringDataAvailable() const = 0;
47 };
48 
49 //< ! @endcond
50 }
51 }
52 } // end of namespace nn::pia::inet