mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Implemented all property functions.
This commit is contained in:
parent
e39f965b17
commit
287d0c6ceb
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user