Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 396 Bytes
package com.github.phillbarber.job
/*
For some reason the main method would not work from within PollingVsSocketsApplication - had to add this.
*/
object Launcher {
@JvmStatic fun main(args: Array<String>) {
if(args.size == 0){
PollingVsSocketsApplication().run("server");
}
else{
PollingVsSocketsApplication().run(*args);
}
}
}
You can’t perform that action at this time.