Create a MetaServerHandlerFileQueue
Handlers accept requests, process them, and convert them into consumable items ( MetaServerPacket ) for the MetaServer to process.
Have one such handler that rather than wait for a network packet, will sweep a directory and create load incoming packets that way. Output packets would also be written to disk.
This would allow for processing without a network. The practical usefulness of this in an operation server is limited, however this could be VERY handy for testing and automation.
There could be also individual command restriction applied to allow for special type of requests.
E.g:
In config:
[ server ]
command.
Create a file:
packet_test.in:
DATADUMP
packet_test.out
x.x.x.x => {
ip=>"x.x.x.x",
name=>foobar
attributes => {
name => value
}
}
In this way a non-network program could have a protocol chat without using the network, allowing for many out of band type functions.