31 virtual bool onNewIncomingConnection(
::NetworkIdentifier const&, ::std::shared_ptr<::NetworkPeer>&&) = 0;
33 virtual bool onNewOutgoingConnection(
::NetworkIdentifier const&, ::std::shared_ptr<::NetworkPeer>&&) = 0;
35 virtual void onConnectionClosed(
37 ::Connection::DisconnectFailReason
const,
54 ::ll::TypedStorage<8, 8, ::Connector::ConnectionCallbacks&> mCallbacks;
59 Connector& operator=(Connector
const&);
60 Connector(Connector
const&);
68 virtual ::std::string getLocalIp();
70 virtual ushort getPort()
const;
72 virtual ::Social::GameConnectionInfo
const& getConnectedGameInfo()
const;
74 virtual bool isIPv4Supported()
const;
76 virtual bool isIPv6Supported()
const;
78 virtual ushort getIPv4Port()
const;
80 virtual ushort getIPv6Port()
const;
82 virtual ::TransportLayer getNetworkType()
const;
94 MCFOLD ::std::string $getLocalIp();
96 MCFOLD ushort $getPort()
const;
98 MCFOLD ::Social::GameConnectionInfo
const& $getConnectedGameInfo()
const;
100 MCFOLD
bool $isIPv4Supported()
const;
102 MCFOLD
bool $isIPv6Supported()
const;
104 MCFOLD ushort $getIPv4Port()
const;
106 MCFOLD ushort $getIPv6Port()
const;
109 MCFOLD ::TransportLayer $getNetworkType()
const;