1 18 19 20 package sync4j.framework.core; 21 22 23 31 public final class Results 32 extends ResponseCommand 33 implements java.io.Serializable { 34 35 37 public static String COMMAND_NAME = "Results"; 38 39 41 44 protected Results() {} 45 46 61 public Results( 62 final CmdID cmdID, 63 final String msgRef, 64 final String cmdRef, 65 final Meta meta, 66 final TargetRef targetRef, 67 final SourceRef sourceRef, 68 final Item[] items) { 69 70 super( 71 cmdID, 72 msgRef, 73 cmdRef, 74 (targetRef == null) ? null : new TargetRef[] { targetRef }, 75 (sourceRef == null) ? null : new SourceRef[] { sourceRef }, 76 items 77 ); 78 79 this.meta = meta; 80 } 81 82 84 89 public String getName() { 90 return Results.COMMAND_NAME; 91 } 92 } 93 | Popular Tags |