![]() |
xyginext
0.2.0
Second generation of xygine game creation framework
|
Public Member Functions | |
NetClientImpl (const NetClientImpl &)=delete | |
NetClientImpl (NetClientImpl &&)=delete | |
NetClientImpl & | operator= (const NetClientImpl &)=delete |
NetClientImpl & | operator= (NetClientImpl &&)=delete |
virtual bool | create (std::size_t maxChannels, std::size_t maxClients, sf::Uint32 incoming, sf::Uint32 outgoing)=0 |
virtual bool | connect (const std::string &address, sf::Uint16 port, sf::Uint32 timeout)=0 |
virtual bool | connected () const =0 |
virtual void | disconnect ()=0 |
virtual bool | pollEvent (NetEvent &)=0 |
virtual void | sendPacket (std::uint8_t id, const void *data, std::size_t size, NetFlag flags, sf::Uint8 channel)=0 |
virtual const NetPeer & | getPeer () const =0 |
virtual std::uint32_t | getAddress () const |
virtual std::uint16_t | getPort () const |