MultiMessage.java 378 Bytes
Newer Older
Michele Fiori's avatar
Michele Fiori committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package chatRoom;

public class MultiMessage {
    private String message;
    private int clientId;

    public MultiMessage(String message, int clientId) {
        this.message = message;
        this.clientId = clientId;
    }

    public String getMessage() {
        return message;
    }

    public int getClientId() {
        return clientId;
    }
}