All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.masahitojp.botan.message.BotanMessageSimple Maven / Gradle / Ivy

There is a newer version: 0.6.4
Show newest version
package com.github.masahitojp.botan.message;

import lombok.Data;

@Data
public class BotanMessageSimple {
    private final String body;
    private final String from;
    private final String fromName;
    private final String to;
    private final int type;

    public BotanMessageSimple(String body) {
        this.body = body;
        this.from = "";
        this.fromName = "";
        this.to = "";
        this.type = -1;
    }

    public BotanMessageSimple(String body, String room) {
        this.body = body;
        this.from = "";
        this.fromName = "";
        this.to = room;
        this.type = -1;
    }

    public BotanMessageSimple(String body, String from, String fromName, String to, int type) {
        this.body = body;
        this.from = from;
        this.fromName = fromName;
        this.to = to;
        this.type = type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy