package com.jilk.ros.rosbridge.implementation;

import com.jilk.ros.rosbridge.operation.Operation;

/**EventBus event entity,describe ros server response info
 * Created by xxhong on 16-11-22.
 */

public class PublishEvent {
    public String msg;
    public String id;
    public String name;
    public String op;


    public PublishEvent(Operation operation, String name, String content) {
        if(operation != null) {
            id = operation.id;
            op = operation.op;
        }
        this.name = name;
        msg = content;
    }
}
