Class : NetworkCommunication

NetworkCommunication :

prototype: NetworkCommunication (int port )

description:constructor for


input parameters:
port = port to be opened by the server



~NetworkCommunication :

prototype: ~NetworkCommunication ()

description:destructor



EnableClientCommunication :

prototype: bool EnableClientCommunication (char* clientName )

description:try to enable communication with a client


input parameters:
client name = fully qualified client name


return value: true if communications are allowed



EnableServerCommunication :

prototype: bool EnableServerCommunication (char* serverName )

description:try to enable communication with server


input parameters:
server name = fully qualified client name


return value: true if communications are allowed



CloseCommunication :

prototype: bool CloseCommunication ()

description:close communication


input parameters:


return value: true if communications have been closed



WaitJob :

prototype: int WaitJob ()

description:wait for a new job


input parameters:


return value: id of the newly available job (-1 if an error occurs)



Back to index.