[lchat] element index

All elements
a c d e f g h i k l m n p r s w _
_
top
__construct
__construct
__construct
Construct the request with the parmeters string
__construct
__construct
__construct
__construct
cmd::__construct() in caht.php
Constructor needs the parameters :
a
top
accept
accept connexion on the socket
addData
write data into shared memory.
addError
Add an error to the response
addMeta
Add a meta line to the response
addRead
Add a read line to the response
asString
return the data of this object as string.
c
top
$cliendId
$current_client_request
caht.php
caht.php in caht.php
clientIsconnected
close
cmd
cmd in caht.php
Abstract class cmd.
connect
CURRENTMACHINE
d
top
$data
globalData::$data in caht.php
Enter description here...
destroy
Destroy ( free ) the shared memory
e
top
execute
whoisup::execute() in caht.php
Connect the requester machine. And return the list of connected machine.
execute
request::execute() in caht.php
execute the command.
execute
iamdown::execute() in caht.php
Diconnect the requester machine
execute
cmd::execute() in caht.php
abstract method
f
top
fromString
Construct this object from a string = raw response of a command.
g
top
getCommand
return the name o the command
getData
Return the data stored into shared memory registred with the parmeters $key
getIp
machine::getIp() in caht.php
Geter
getPort
machine::getPort() in caht.php
Geter
getPseudo
Geter
globalData
globalData in caht.php
Static class, shared data betwen all the package lchat
h
top
hasError
return true if the response ha error else false
i
top
iamdown
iamdown in caht.php
initServer
Create / bind a socket on LOCALIP and LOCALPORT
isRuning
k
top
kickClient
l
top
listen
listen
LOCALIP
LOCALIP in caht.php
LOCALPORT
LOCALPORT in caht.php
m
top
MACHINE
machine
machine in caht.php
This class define a machine running the lchat.
mainClient
mainClient() in caht.php
mainServer
mainServer in caht.php
MAINSERVER
MAINSERVER in caht.php
mainServer
mainServer() in caht.php
MGSLEVL
MGSLEVL
msg
msg in caht.php
This class provide a log systel through the static method pmsqg
msg
mainServer::msg() in caht.php
myClientSocket
myClientSocket in caht.php
myPrint
n
top
nextError
return the next line of error
nextMeta
return the next line of meta
nextRead
return the next line of read
p
top
pmsg
msg::pmsg() in caht.php
Print message into file
PSEUDO
PSEUDO in caht.php
r
top
$requester
cmd::$requester in caht.php
Machine that send the cmd.
$response
cmd::$response in caht.php
Object response. This object is returned by cmd::execte
read
read
mainServer::read() in caht.php
readStdIn
readStdIn() in caht.php
request
request in caht.php
Object request.
response
response in caht.php
Class response , used to defined the response of the class request and cmd.
running
s
top
sendMessageToClient
sendToServer
SERVERIP
SERVERIP in caht.php
SERVERPORT
SERVERPORT in caht.php
setError
set an error with the error code
setIp
machine::setIp() in caht.php
Seter
setPort
machine::setPort() in caht.php
Seter
setPseudo
Seter
shareMemory
shareMemory in caht.php
This class is used to manage shared memory
shutDown
w
top
whoisup
whoisup in caht.php
whoisup
a c d e f g h i k l m n p r s w _