Special implementation of Composite Pattern focus on send complex Messages by TCP socket to Java