2014-04-10 16:20:27 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Console
|
2014-07-06 21:05:59 +08:00
|
|
|
-- @extend Ref
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-04-10 16:20:27 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- starts listening to specifed TCP port
|
2014-04-10 16:20:27 +08:00
|
|
|
-- @function [parent=#Console] listenOnTCP
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int port
|
2014-04-10 16:20:27 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-12-29 10:07:20 +08:00
|
|
|
--------------------------------
|
|
|
|
-- log something in the console
|
|
|
|
-- @function [parent=#Console] log
|
|
|
|
-- @param self
|
|
|
|
-- @param #char buf
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- set bind address<br>
|
|
|
|
-- address : 127.0.0.1
|
|
|
|
-- @function [parent=#Console] setBindAddress
|
|
|
|
-- @param self
|
|
|
|
-- @param #string address
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- stops the Console. 'stop' will be called at destruction time as well
|
|
|
|
-- @function [parent=#Console] stop
|
|
|
|
-- @param self
|
|
|
|
|
2014-04-10 16:20:27 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- starts listening to specifed file descriptor
|
2014-04-10 16:20:27 +08:00
|
|
|
-- @function [parent=#Console] listenOnFileDescriptor
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int fd
|
2014-04-10 16:20:27 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
return nil
|