2010-03-10 16:42:05 -05:00
|
|
|
/*
|
2010-03-12 14:35:25 -05:00
|
|
|
Yaaic - Yet Another Android IRC Client
|
2010-03-10 16:42:05 -05:00
|
|
|
|
2010-03-13 10:52:20 -05:00
|
|
|
Copyright 2009-2010 Sebastian Kaspari
|
2010-03-10 16:42:05 -05:00
|
|
|
|
|
|
|
This file is part of Yaaic.
|
|
|
|
|
|
|
|
Yaaic is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Yaaic is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
package org.yaaic.model;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ServerInfo for all messages regarding the server
|
|
|
|
*
|
|
|
|
* @author Sebastian Kaspari <sebastian@yaaic.org>
|
|
|
|
*/
|
|
|
|
public class ServerInfo extends Conversation
|
|
|
|
{
|
2010-11-18 12:52:19 -05:00
|
|
|
public static final String DEFAULT_NAME = "";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new ServerInfo object
|
|
|
|
*
|
|
|
|
* @param name
|
|
|
|
*/
|
|
|
|
public ServerInfo()
|
|
|
|
{
|
|
|
|
super(DEFAULT_NAME);
|
|
|
|
}
|
2010-03-10 16:42:05 -05:00
|
|
|
|
2010-11-18 12:52:19 -05:00
|
|
|
/**
|
|
|
|
* Get the type of this conversation
|
|
|
|
*/
|
|
|
|
@Override
|
|
|
|
public int getType()
|
|
|
|
{
|
|
|
|
return Conversation.TYPE_SERVER;
|
|
|
|
}
|
2010-03-10 16:42:05 -05:00
|
|
|
}
|