mirror of https://github.com/deavminet/dnetd.git
Save the tag for future use when sending replies
This commit is contained in:
parent
e36103c153
commit
e10a7d5b3e
|
@ -85,6 +85,9 @@ public class DConnection : Thread
|
|||
*/
|
||||
private void process(DataMessage message)
|
||||
{
|
||||
/* Get the tag */
|
||||
long tag = message.tag;
|
||||
|
||||
/* Get the command byte */
|
||||
byte commandByte = message.data[0];
|
||||
|
||||
|
@ -106,7 +109,17 @@ public class DConnection : Thread
|
|||
/* TODO: Handle this case */
|
||||
else
|
||||
{
|
||||
|
||||
/* TODO: Check plugins */
|
||||
bool isPlugin = false;
|
||||
|
||||
if(isPlugin)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,9 @@ public class DServer : Thread
|
|||
private Address sockAddress;
|
||||
|
||||
|
||||
/* Connection queue */
|
||||
/**
|
||||
* Connection queue
|
||||
*/
|
||||
private DConnection[] connectionQueue;
|
||||
|
||||
this(Address sockAddress)
|
||||
|
|
Loading…
Reference in New Issue