public class StoreNetCDF {

    private ClientMessageRouter messageRouter;
    private EventPublisher publisher;

    public TextClient() throws IOException {
        messageRouter = new ClientMessageRouter();
        publisher = new EventPublisher(messageRouter);

        messageRouter.addListener(this);
    }

    public NetworkDestination connect(String hostname, int port)
    throws UnknownHostException, IOException {
        return messageRouter.connectTo(hostname, port);
    }

    public void disconnect() {
        messageRouter.shutdown();
    }

    public static void main(String[] args) {

    }

}

@@ -1,28 +1,338 @@
 p
-ublic class StoreNetCDF
+ackage galileo.samples;%0A%0Aimport java.io.IOException;%0A%0Aimport java.net.UnknownHostException;%0A%0Aimport galileo.client.EventPublisher;%0Aimport galileo.net.ClientMessageRouter;%0Aimport galileo.net.GalileoMessage;%0Aimport galileo.net.MessageListener;%0Aimport galileo.net.NetworkDestination;%0A%0Apublic class StoreNetCDF implements MessageListener
  %7B%0A%0A
@@ -432,18 +432,19 @@
 lic 
-TextClient
+StoreNetCDF
 () t
@@ -824,16 +824,16 @@
 ect() %7B%0A
-
         
@@ -857,32 +857,248 @@
 tdown();%0A    %7D%0A%0A
+    @Override%0A    public void onMessage(GalileoMessage message) %7B%0A        if (message == null) %7B%0A            /* Connection was terminated */%0A            messageRouter.shutdown();%0A            return;%0A        %7D%0A    %7D%0A%0A
     public stati

Fix build