source: launchers/common/src/main/scala/net/i2p/launchers/RouterLauncher.scala @ 70e994fc

Last change on this file since 70e994fc was 70e994fc, checked in by meeh <meeh@…>, 3 years ago

Some changes, after much testing I find it best to spawn an sub java
process for I2P rather than trying to load Router via reflection or
anything runtime fancy stuff. Shell script is implemented in SBT now,
and can now link to download JRE script and so on.

  • Property mode set to 100644
File size: 290 bytes
Line 
1package net.i2p.launchers
2
3import java.io.File
4
5
6/**
7  * A abstract class is kind of like an java interface.
8  *
9  * @author Meeh
10  * @since 0.9.35
11  */
12abstract class RouterLauncher {
13  def runRouter(basePath: File, args: Array[String]): Unit
14
15  def runRouter(args: Array[String]): Unit
16}
Note: See TracBrowser for help on using the repository browser.