

Public Member Functions | |
| virtual void | RegisterMethods (lua_State *L) |
| called by Register(), registers object-methods (see cLuaBind constructor for examples) | |
| virtual const char * | GetLuaTypeName () |
Static Public Member Functions | |
| static int | Create_UDP_SendSocket (lua_State *L) |
| for lua : cUDP_SendSocket* Create_UDP_SendSocket (); | |
| static int | Destroy (lua_State *L) |
| static int | Send (lua_State *L) |
| static int | SetBroadcast (lua_State *L) |
Definition at line 244 of file lugre_net_L.cpp.
| virtual void Lugre::cUDP_SendSocket_L::RegisterMethods | ( | lua_State * | L | ) | [inline, virtual] |
called by Register(), registers object-methods (see cLuaBind constructor for examples)
Reimplemented from Lugre::cLuaBind< _T >.
Definition at line 248 of file lugre_net_L.cpp.
References Create_UDP_SendSocket(), Destroy(), PROFILE, REGISTER_METHOD, Send(), and SetBroadcast().
| static int Lugre::cUDP_SendSocket_L::Create_UDP_SendSocket | ( | lua_State * | L | ) | [inline, static] |
for lua : cUDP_SendSocket* Create_UDP_SendSocket ();
Definition at line 262 of file lugre_net_L.cpp.
References Lugre::cLuaBind< _T >::CreateUData(), and PROFILE.
Referenced by RegisterMethods().
| static int Lugre::cUDP_SendSocket_L::Destroy | ( | lua_State * | L | ) | [inline, static] |
Definition at line 269 of file lugre_net_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int Lugre::cUDP_SendSocket_L::Send | ( | lua_State * | L | ) | [inline, static] |
for lua : resultcode Send (addr,port,fifo,datalen=fifosize); if datalen is not specified, it defaults to the size of the entire fifo the data is NOT popped from the fifo addr is a light userdata representing the ip address, e.g. from net_L.cpp : cConnection_L::GetRemoteAddress or AtoN
Definition at line 278 of file lugre_net_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), PROFILE, and Lugre::cFIFO::size().
Referenced by RegisterMethods().
| static int Lugre::cUDP_SendSocket_L::SetBroadcast | ( | lua_State * | L | ) | [inline, static] |
for lua : void SetBroadcast (number); enable broadcast for this socket, number=1 -> true, number=0 -> false
Definition at line 292 of file lugre_net_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| virtual const char* Lugre::cUDP_SendSocket_L::GetLuaTypeName | ( | ) | [inline, virtual] |
1.5.6