MyValueFactory vf1 = new MyValueFactory( "tcp:" );
Field mf_delay = new Field( "delay" );
Field mf_count = new Field( "count" );
Type mt_request = new Type( "_Etch_KeepAliveReq" );
mt_request.putValidator( mf_delay, Validator_int.get( 0 ) );
mt_request.putValidator( mf_count, Validator_int.get( 0 ) );
vf1.addType( mt_request );
Type mt_response = new Type( "_Etch_KeepAliveResp" );
vf1.addType( mt_response );
mt_request.setResult( mt_response );
Message msg = new Message( mt_request, vf1 );