package com.eactive.eai.transformer.message.generator;

import com.eactive.eai.transformer.layout.Layout;
import com.eactive.eai.transformer.message.Message;
import com.eactive.eai.transformer.message.MonitoringVBytesMessage;

/**
 * MonitoringVBytesMessage 에 대한 생성
 */
public class MonitoringVBytesMessageGenerator implements MessageGenerator {
    public Message createMessage(Layout layout, boolean initialize, boolean useDefault) throws Exception {
    	MonitoringVBytesMessage message = (MonitoringVBytesMessage) layout.getRootItem();
        message = (MonitoringVBytesMessage) message.clone();
        message.createObject();
        return message;
    }
}
