MessageObject function ( String arg0 , String arg1 , Serializable arg2 ) { if ( ! socketWrapper . sendObject ( new MessageObject ( arg0 , arg1 , arg2 ) ) ) { return null ; } return readMessage ( ) ; }
call this to send a message with some binary data and wait for the server 's acknowledgement . the protocol and the server must understand the message , message type , and data . concode_field_sep ObjectSocketWrapper socketWrapper concode_elem_sep Logger logger concode_elem_sep Protocol protocol concode_field_sep boolean serverConnected concode_elem_sep boolean continueConnection concode_elem_sep void stop concode_elem_sep void start concode_elem_sep boolean sendMessage concode_elem_sep boolean sendMessage concode_elem_sep MessageObject readMessage concode_elem_sep void initialize