servers.global.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of niowire Show documentation
Show all versions of niowire Show documentation
Niowire is a non blocking socket server framework for java. It makes the
task of writing and implementing a highly scalable server capable of
many simultaneous connections easy. All that has to be written to
use it are a Serializer to parse the binary stream into objects (or you
can use one of the built in ones), an Inspector which filters,
authenticates and modifies packets packets (or again, use one of the
built in ones) and one or more services which uses the data packets
(more built in ones here too!)
{
"name" : "global",
"port" : 12012,
"serializerFactory" : {
"className" : "io.niowire.serializer.JsonSerializer",
"configuration" : {
"charset":"utf-8"
}
},
"inspectorFactory" : {
"className" : "io.niowire.inspection.NullInspector"
},
"serviceFactories" : [
{
"className" : "io.niowire.service.EchoService"
}
]
}