Class MB2JS
java.lang.Object
org.nustaq.kontraktor.webapp.javascript.minbingen.MB2JS
public class MB2JS extends Object
generates JS wrappers for a set of actors and pojos capable to en/decode MinBin serialized messages.
Though minbin is ~2 times more efficient than JSon regarding speed and bandwith, focus is mostly on
Json currently. However it might an option switching to MinBin encoding in case of serious performance
related trouble (minor changes in the JS client required then)
-
Constructor Summary
Constructors Constructor Description MB2JS() -
Method Summary
Modifier and Type Method Description static voidGen(String packagesToScanColonSeparated, String outputFile)voidreceiveContext(Object o, PrintStream out)
-
Constructor Details
-
MB2JS
public MB2JS()
-
-
Method Details
-
Gen
- Throws:
Exception
-
receiveContext
- Throws:
Exception
-