155156157158159160161162163164165
break; case UPDATE: task = new UpdateAction(in, out); break; case STATUS: task = new StatusAction(in, out); break; case REFRESH: task = new RefreshAction(in, out); break; }
160161162163164165166
public BundleStatus[] status() throws IOException, BundleException { if (socket == null) throw new IllegalStateException("Not connected"); return new StatusAction(in, out).client(); }