public void putreq_vfooter ( String endmark ) throws SoccomException { if ( endmark . length ( ) != 4 ) throw new SoccomException ( SoccomException . ENDM_LENGTH ) ; String msg = endmark + "\n" ; byte msgbytes [ ] = msg . getBytes ( ) ; logline ( "SEND: " + endmark ) ; try { _out . write ( msgbytes ) ; } catch ( IOException e ) { throw new SoccomException ( SoccomException . REQUEST ) ; } }
Mark the end of a variable - size message .