mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 17:53:39 +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)
|
public string getProperty(string propertyName)
|
||||||
{
|
{
|
||||||
/* TODO: Error handling */
|
/* TODO: Error handling */
|
||||||
return "";
|
return properties[propertyName];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -818,7 +818,7 @@ public class DConnection : Thread
|
|||||||
*/
|
*/
|
||||||
public string[] getProperties()
|
public string[] getProperties()
|
||||||
{
|
{
|
||||||
return [];
|
return properties.keys();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -827,6 +827,7 @@ public class DConnection : Thread
|
|||||||
public void deleteProperty(string propertyName)
|
public void deleteProperty(string propertyName)
|
||||||
{
|
{
|
||||||
/* TODO: Implement me */
|
/* TODO: Implement me */
|
||||||
|
properties.remove(propertyName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConnectionType getConnectionType()
|
public ConnectionType getConnectionType()
|
||||||
|
Loading…
Reference in New Issue
Block a user