public class lsImpl extends lsPOA { public void sendData(byte[] data) { System.out.println("lsImpl received sequence of length " + data.length + " bytes. Last element is" + (int)data[data.length - 1] ); } public byte[] getData(int size) { System.out.println("lsImpl allocating sequence of size " + size + " bytes"); byte[] returnData = new byte[size]; for (int i = 0; i < size; i++) { returnData[i] = (byte)i; } return returnData; } }