144145146147148149150151
public void update(long bundle) throws IOException, BundleException { if (socket == null) throw new IllegalStateException("Not connected"); Update update = new UpdateAction.Update(bundle, null); new UpdateAction(in, out).client(update); }
152153154155156157158159
public void update(long bundle, String url) throws IOException, BundleException { if (socket == null) throw new IllegalStateException("Not connected"); Update update = new UpdateAction.Update(bundle, url); new UpdateAction(in, out).client(update); }