finished Server Handshake (script should be able to connect to another server now)
[PHP-P10.git] / Uplink / P10_Server.class.php
index a2144cb28a8fc440db8b0ff8d06d6c39b4b2b0d2..1603e4c84722a6455b7187e001a0e254addcab2f 100644 (file)
  * String getNumeric()
  *     returns the Numeric of the Server
  *
+ * String getName()
+ *     returns the Name of the Server
+ *
+ * String getStartTime()
+ *     returns the startup time of the Server
+ *
+ * String getLinkTime()
+ *     returns the link time of the Server
+ *
+ * String getDescription()
+ *     returns the Description of the Server
+ *
  * void addServer(P10_Server $server)
  *     adds a Server to the server's "slave" list
  *
@@ -97,6 +109,22 @@ class P10_Server {
                return $this->numeric;
        }
        
+       public function getName() {
+               return $this->name;
+       }
+       
+       public function getStartTime() {
+               return $this->start_time;
+       }
+       
+       public function getLinkTime() {
+               return $this->link_time;
+       }
+       
+       public function getDescription() {
+               return $this->description;
+       }
+       
        public function addServer($server) {
                $this->servers[$server->getNumeric()] = $server;
        }