struct.setDataRef(handler);
data.value = handler;
structHolder.value = struct;
port.echoData(structHolder, data);
InputStream bis = null;
bis = data.value.getDataSource().getInputStream();
byte b[] = new byte[10];
bis.read(b, 0, 10);
String string = new String(b);