Implemented all property functions.

This commit is contained in:
Tristan B. Kildaire 2020-10-20 08:23:47 +02:00
parent e39f965b17
commit 287d0c6ceb
1 changed files with 3 additions and 2 deletions

View File

@ -810,7 +810,7 @@ public class DConnection : Thread
public string getProperty(string propertyName)
{
/* TODO: Error handling */
return "";
return properties[propertyName];
}
/**
@ -818,7 +818,7 @@ public class DConnection : Thread
*/
public string[] getProperties()
{
return [];
return properties.keys();
}
/**
@ -827,6 +827,7 @@ public class DConnection : Thread
public void deleteProperty(string propertyName)
{
/* TODO: Implement me */
properties.remove(propertyName);
}
public ConnectionType getConnectionType()