12345678910111213141516171819 |
- var server = function(){
- this.name = null;
- this.sid = null;
- this.description = null;
- this.distance = null;
- this.uplink = null;
- this.introduce = function(newName, newSid, newDescription, newDistance, newUplink){
- this.name = newName;
- this.sid = newSid;
- this.description = newDescription;
- this.distance = newDistance;
- this.uplink = newUplink;
- }
- }
- module.exports = server;
|