public function send($command, $data)
    {
        $message = new Message;

        $message->command = $command;
        $message->data = $data;

        $this->connection->send($message->serialize());
    }
public function send($command, $data)
    {
        $message = new Message;

        $message->command = $command;
        $message->data = $data;

        $this->connection->send($message->serialize());
    }
public function send ( $ command , $ data ) { $ message = new Message ; $ message -> command = $ command ; $ message -> data = $ data ; $ this -> connection -> send ( $ message -> serialize ( ) ) ; }
Sends a message to this client.

@return void
Sends a message to this client .