String[] query = { "name", "count", "freq" };
String target[] = { "ACDW", "11" };
org.apache.s4.message.Request.ClientRInfo rinfo = new org.apache.s4.message.Request.ClientRInfo();
rinfo.setRequesterUUID(UUID.randomUUID());
Request req = new org.apache.s4.message.SinglePERequest(Arrays.asList(target),
Arrays.asList(query),
rinfo);
System.out.println(req.toString());
InstanceCreator<org.apache.s4.message.Request.RInfo> infoCreator = new InstanceCreator<org.apache.s4.message.Request.RInfo>() {
public org.apache.s4.message.Request.RInfo createInstance(Type type) {
return new org.apache.s4.message.Request.ClientRInfo();
}