140141142143144145146147148149150
Action<?, ?> task = null; switch (action) { case INSTALL: task = new InstallAction(in, out); break; case START: task = new StartAction(in, out); break; case STOP:
116117118119120121122
public long install(String url) throws IOException, BundleException { if (socket == null) throw new IllegalStateException("Not connected"); return new InstallAction(in, out).client(url); }