public static class ChildClass {
public static void main(String[] args)
throws ClosedLinkException, IllegalStateException, InterruptedIOException, IOException {
Link link = Isolate.getLinks()[0];
LinkMessage msg = link.receive();
System.out.println("Got message: " + msg.extractString());
}