text
stringlengths
3
1.18M
/* @author: Jeramie Hallyburton * @file: Game.java * @date: 12/09/2011 * @description: Holds all state data for current game */ package mobiledev.project3.spaceinvaders; import game.spaceinvaders.R; import java.util.ArrayList; import android.app.Activity; import android.graphics.Bitmap; import...
/* @author: Jeramie Hallyburton * @file: SpaceInvadersView.java * @date: 12/09/2011 * @description: renders all game elements to the screen */ package mobiledev.project3.spaceinvaders; import java.text.DecimalFormat; import game.spaceinvaders.R; import android.content.Context; import android.grap...
package mobiledev.project3.spaceinvaders; import android.graphics.Bitmap; import android.graphics.Canvas; import android.os.Parcel; import android.os.Parcelable; public class Sprite implements Parcelable { private Bitmap bitmap; protected Speed speed = new Speed(); protected int x; protected int y; ...
/* @author: Jeramie Hallyburton * @file: Ship.java * @date: 12/09/2011 * @description: Sprite to contain enemy ship data */ package mobiledev.project3.spaceinvaders; import android.graphics.Bitmap; public class Ship extends Sprite { private String color; public Ship(Bitmap bitmap, int x, int...
/* @Author: Jeramie Hallyburton * @Date: 12/09/2011 * @File: Music.java * @description: MediaPlayer for playing menu and game background music */ package mobiledev.project3.spaceinvaders; import android.content.Context; import android.media.MediaPlayer; public class Music { private static MediaPlayer ...
package mobiledev.project3.spaceinvaders; public class Speed { public static final int DIRECTION_RIGHT = 1; public static final int DIRECTION_LEFT = -1; public static final int DIRECTION_UP = -1; public static final int DIRECTION_DOWN = 1; private float xv = 1; // velocity value on the X axis private...
/* @author: Jeramie Hallyburton * @file: GameLoop.java * @date: 12/09/2011 * @description: Thread containing a loop for performing game updating and rendering cycles */ package mobiledev.project3.spaceinvaders; import android.graphics.Canvas; import android.util.Log; import android.view.SurfaceHolde...
/* @author: Jeramie Hallyburton * @file: SpaceInvadersActivity.java * @date: 12/09/2011 * @description: Activity for main menu */ package mobiledev.project3.spaceinvaders; import game.spaceinvaders.R; import android.app.Activity; import android.app.AlertDialog; import android.content.Intent; import android.o...
package ee.greaton.SMSsender; import java.util.Calendar; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.SmsMessage; import android.widget.Toast; public class SMSReceiver extends BroadcastReceiver {...
package ee.greaton.SMSsender; import java.util.Calendar; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; public class ReceivedDBAdapter { public static final String...
package ee.greaton.SMSsender; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DatabaseHelper extends SQLiteOpenHelper { private static String DATABASE_CREATE; private static String DATABASE_TABLE; Database...
package ee.greaton.SMSsender; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.telephony.SmsManager; import andr...
package ee.greaton.SMSsender; import android.app.Activity; public class ReceivedSmsActivity extends Activity{ }
package ee.greaton.SMSsender; public class Message { String from, content, date, time; public String toString(){ return from + ", " + content + ", " + date + ", " + time; } public void addToReceivedDB() { ReceivedDBAdapter receivedDB = new ReceivedDBAdapter(null); receivedDB.open(); received...
package ee.greaton.SMSsender; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity{ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main)...
package com.kernowsoft.wavefx; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.Locale; impor...
package com.kernowsoft.wavefx; import java.sql.Date; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import a...
package com.kernowsoft.wavefx; import java.util.ArrayList; import java.util.HashMap; import android.app.SearchManager; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.UriMatcher; import android.dat...
package com.kernowsoft.wavefx; import static java.lang.Math.cos; import static java.lang.Math.min; import static java.lang.Math.sin; import static java.lang.Math.toRadians; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graph...
package com.kernowsoft.wavefx.specdraw; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.util.Log; public...
package com.kernowsoft.wavefx.specdraw; import com.kernowsoft.wavefx.R; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.DashPathEffect; import android.graphics.Paint;...
package com.kernowsoft.wavefx; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.L...
package com.kernowsoft.wavefx; import com.kernowsoft.wavefx.R; import android.accounts.Account; import android.accounts.AccountManager; import android.content.ContentResolver; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivi...
package com.kernowsoft.wavefx.sync; import android.accounts.AbstractAccountAuthenticator; import android.accounts.Account; import android.accounts.AccountAuthenticatorResponse; import android.accounts.NetworkErrorException; import android.content.Context; import android.os.Bundle; /* * Implement AbstractAccountAuth...
package com.kernowsoft.wavefx.sync; import android.accounts.Account; import android.content.AbstractThreadedSyncAdapter; import android.content.ContentProviderClient; import android.content.ContentResolver; import android.content.Context; import android.content.SyncResult; import android.os.Bundle; import android.util...
package com.kernowsoft.wavefx.sync; import android.app.Service; import android.content.Intent; import android.os.IBinder; public class WaveFxSyncService extends Service { public static WaveFxSyncAdapter sSyncAdapter = null; private static final Object sSyncAdapterLock = new Object(); // for syncronization @Over...
package com.kernowsoft.wavefx.sync; import android.app.Service; import android.content.Intent; import android.os.IBinder; /** * A bound Service that instantiates the authenticator * when started. */ public class WaveFxAuthenticatorService extends Service { // Instance field that stores the authenticator object...
package com.kernowsoft.wavefx; import java.util.ArrayList; import com.kernowsoft.wavefx.R; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoad...
package com.kernowsoft.wavefx; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import com.kernowsoft.wavefx.R; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.Context; import android.content.I...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * ...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * (at yo...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * (at yo...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * ...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * (at yo...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * ...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * (at yo...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * ...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * (at yo...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * (at yo...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * ...
/* * sokoban - a Sokoban game for android devices * Copyright (C) 2010 Dedi Hirschfeld * * This program 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 2 of the License, or * ...
package com.example.android_pti_backup; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.wi...
package com.example.android_pti_backup; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.Http...
package com.example.android_pti_backup; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.EditText; public class IsiPesanan extends Activity { EditText noMeja, nama...
package com.example.android_pti_backup; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.ResponseHandler; import org.apache.http.client.entity.UrlEncodedFormEnt...
package com.example.android_pti_backup; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; impor...
/** Automatically generated file. DO NOT MODIFY */ package com.example.android_pti_backup; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.example.android_pti_backup; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Spinner; import android.widget.Toast; public class IsiPesanan exten...
package com.example.android_pti_backup; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.ResponseHandler; import org.apache.http.client.entity.UrlEncodedFormEnt...
/** Automatically generated file. DO NOT MODIFY */ package com.example.android_pti_backup; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; i...
package com.example.gsmcontroller; public class Device { private String name; private int state_old[],state_new[]; /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** ...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.view.Menu; import android.view.View; import android.widget.EditText; import android.widget.ImageVie...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.view.Menu; import android.view.View; import android.widget.EditText; import android.widget.ImageView; import android.widget.Toast;...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; i...
package com.example.gsmcontroller; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; public class TabsPagerAdapter extends FragmentPagerAdapter { public TabsPagerAdapter(FragmentManager fm) { super(fm); } @Over...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; i...
package com.example.gsmcontroller; import java.text.DecimalFormat; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.StringTokenizer; import android.os.Bundle; import android.app.Activity; import android.app.PendingIntent...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; i...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.view.Menu; import android.view.View; import android.widget.EditText; import android.widget.ImageView; import android.widget.Toast; ...
package com.example.gsmcontroller; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.Parser...
package com.example.gsmcontroller; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Locale; import android.app.ActionBar; import android.app.FragmentTransaction; import android.app.ActionBar.Tab; import android.content.res.Configuration; import android.content.res.TypedArray; ...
package com.example.gsmcontroller; import android.os.Bundle; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; ...
package com.example.gsmcontroller; public class SlaveGSM { private String phoneNum; private String smsPass; /** * @return the phoneNum */ public String getPhoneNum() { return phoneNum; } /** * @param phoneNum the phoneNum to set */ public void setPhoneNum(String phoneNum) { this....
/** Automatically generated file. DO NOT MODIFY */ package com.example.gsmcontroller; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.si.tce_pe; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.si.tce_pe; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override public ...
package f00f.net.irc.martyr; import java.util.Date; import java.util.Timer; import java.util.TimerTask; /** * @since 0.3.2 * */ public class CronManager { private Timer timer; public CronManager() { timer = new Timer(); } /** * @param task TimerTask to schedule * @param time When to schedule task */ ...
package f00f.net.irc.martyr; /** * Defines an outgoing command. Outgoing commands are very simple * because all they need to do is be rendered. Outgoing commands do * not change our state. */ public interface OutCommand extends Command { /** * Forms a string appropriate to send to the server, if requir...
package f00f.net.irc.martyr.dcc; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import f00f.net.irc.martyr.IRCConnection; import f00f.net.irc.martyr.OutCommand; import f00f.net.irc.martyr.commands.CtcpMessage; import co.porkcullis.android.smirc.util.Logg...
package f00f.net.irc.martyr.dcc; public class UnauthorizedDccException extends DccException { public UnauthorizedDccException( String msg ) { super(msg); } }
package f00f.net.irc.martyr.dcc; import java.io.IOException; import java.net.Socket; /** * @see f00f.net.irc.martyr.dcc.AutoDccSetup */ public class DccChatHandler extends Thread { private Socket socket_; /** * A call to this method means that a connection has been established * and chat should commence. T...
package f00f.net.irc.martyr.dcc; public class InvalidDccException extends DccException { public InvalidDccException( String msg ) { super(msg); } }
package f00f.net.irc.martyr.dcc; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import f00f.net.irc.martyr.GenericCommandAutoService; import f00f.net.irc.martyr.IRCConnection; import f00f.net.irc.martyr.InC...
package f00f.net.irc.martyr.dcc; public class DccType { public static final DccType CHAT = new DccType( "CHAT" ); public static final DccType SEND = new DccType( "SEND" ); private final String dccType; private DccType( String type ) { this.dccType = type; } /** * Returns the DCC TYPE tag, either CHAT or...
package f00f.net.irc.martyr.dcc; import co.porkcullis.android.smirc.util.Logger; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; /** * A DccSendHandler manages a DCC "send" (to us) file transfer. If * you wish to us...
package f00f.net.irc.martyr.dcc; public class DccException extends Exception { public DccException( String msg ) { super(msg); } }
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 462 ERR_ALREADYREGISTERED * :You may not reregister * Returned by the server to any link which tries to change part of the registered details (such as * password or user details from second USER message). */ public class Alread...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 412 ERR_NOTEXTTOSEND * :No text to send * 412 - 414 are returned by PRIVMSG to indicate that the message wasn't delivered for some reason. * ERR_NOTOPLEVEL and ERR_WILDTOPLEVEL are errors that are returned when an invalid use of...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; import f00f.net.irc.martyr.util.FullNick; /** * Code: 444 ERR_NOLOGIN * <user> :User not logged in * Returned by the summon after a SUMMON command for a user was unable to be performed * since they were not logged in. */ public class...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 446 ERR_USERSDISABLED * :USERS has been disabled * Returned as a response to the USERS command. Must be returned by any server which * does not implement it. */ public class UsersDisabledError extends GenericError { privat...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; import f00f.net.irc.martyr.util.FullNick; public class LoadTooHighError extends GenericError { private FullNick nick; private String command; private String errorMessage; public LoadTooHighError() { } public Lo...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 413 ERR_NOTOPLEVEL * <mask> :No toplevel domain specified * 412 - 414 are returned by PRIVMSG to indicate that the message wasn't delivered for some reason. * ERR_NOTOPLEVEL and ERR_WILDTOPLEVEL are errors that are returne...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; import f00f.net.irc.martyr.util.FullNick; /** * Code: 401 ERR_NOSUCHNICK * <nickname> :No such nick/channel * Used to indicated the nickname parameter supplied to a command is currently unused. */ public class NoSuchNickError extends ...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 463 ERR_NOPERMFORHOST * :Your host isn't among the privileged * Returned to a client which attempts to register with a server which does not been setup to allow * connections from the host the attempted connection is tried. */ ...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 464 ERR_PASSWDMISMATCH * :Password incorrect * Returned to indicate a failed attempt at registering a connection for which a * password was required and was either not given or incorrect. */ public class PasswdMismatchError ext...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 402 ERR_NOSUCHSERVER * <server name> :No such server * Used to indicate the server name given currently doesn't exist. */ public class NoSuchServerError extends GenericError { private String server; private String ...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 491 ERR_NOOPERHOST * :No O-lines for your host * If a client sends an OPER message and the server has not been configured to allow * connections from the client's host as an operator, this error must be returned. */ public clas...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 424 ERR_FILEERROR * :File error doing <file op> on <file> * Generic error message used to report a failed file operation during the processing of a message. */ public class FileErrorError extends GenericError { p...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 501 ERR_UMODEUNKNOWNFLAG * :Unknown MODE flag * Returned by the server to indicate that a MODE message was sent with a nickname * parameter and that the a mode flag sent was not recognized. */ public class UModeUnknownFlagError...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 482 ERR_CHANOPRIVSNEEDED * <channel> :You're not channel operator * Any command requiring 'chanop' privileges (such as MODE messages) must return * this error if the client making the attempt is not a chanop on the specifi...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; import f00f.net.irc.martyr.util.FullNick; /** * Code: 406 ERR_WASNOSUCHNICK * <nickname> :There was no such nickname * Returned by WHOWAS to indicate there is no history information for that nickname. */ public class WasNoSuchNickErro...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 442 ERR_NOTONCHANNEL * <channel> :You're not on that channel * Returned by the server whenever a client tries to perform a channel effecting command for which the * client isn't a member. */ public class NotOnChannelError...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 445 ERR_SUMMONDISABLED * :SUMMON has been disabled * Returned as a response to the SUMMON command. Must be returned by any server * which does not implement it. */ public class SummonDisabledError extends GenericError { pr...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 404 ERR_CANNOTSENDTOCHAN * <channel name> :Cannot send to channel * Sent to a user who is either (a) not on a channel which is mode +n or (b) not a chanop (or mode +v) * on a channel which has mode +m set and is trying to ...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 467 ERR_KEYSEY * <channel> :Channel key already set */ public class KeySetError extends GenericError { private String channel; private String errorMessage; public KeySetError() { } public KeySetErr...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 481 ERR_NOPRIVILEGES * :Permission Denied- You're not an IRC operator * Any command requiring operator privileges to operate must return this error to * indicate the attempt was unsuccessful. */ public class NoPrivilegesError e...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 421 ERR_UNKNOWNCOMMAND * <command> :Unknown command * Returned to a registered client to indicate that the command sent is unknown by the server. */ public class UnknownCommandError extends GenericError { private Strin...
/* * GenericJoinError.java * * Copyright (C) 2000, 2001, 2002, 2003 Ben Damm * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (a...
package f00f.net.irc.martyr.errors; import f00f.net.irc.martyr.InCommand; /** * Code: 411 ERR_NORECIPIENT * :No recipient given (<command>) */ public class NoRecipientError extends GenericError { private String errorMessage; public NoRecipientError() { } public NoRecipientError(String e...