/****************************************************************************** * * Copyright 2014 Paphus Solutions Inc. * * Licensed under the Eclipse Public License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ******************************************************************************/ package org.botlibre.sense.chat; /** * Chat message for input and output. */ public class ChatEvent { protected String nick; protected String message; protected boolean isWhisper; protected boolean greet; public boolean isWhisper() { return isWhisper; } public void setWhisper(boolean isWhisper) { this.isWhisper = isWhisper; } public String getNick() { return nick; } public void setNick(String nick) { this.nick = nick; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public boolean isGreet() { return greet; } public void setGreet(boolean greet) { this.greet = greet; } }