public void putreq_vheader ( String endmark ) throws SoccomException { if ( endmark . length ( ) != 4 ) throw new SoccomException ( SoccomException . ENDM_LENGTH ) ; byte msgbytes [ ] = SoccomMessage . makeMessageSpecial ( "ENDM" + endmark , null ) ; logline ( "SEND: " + new String ( msgbytes ) ) ; copy_msgid ( _msgid , msgbytes ) ; try { _out . write ( msgbytes ) ; } catch ( IOException e ) { throw new SoccomException ( SoccomException . REQUEST ) ; } }
Send the header part of a variable - size request message .