Skip navigation links
A C D E F G H I J M N O P Q R S T U W 

A

activate() - Method in interface jpower.core.Task
 
addInitChannel(String) - Method in class jpower.irc.Network
 
addTask(Task) - Method in class jpower.core.Worker
 
addUser(User) - Method in class jpower.irc.Channel
 

C

cancel() - Method in interface jpower.core.Task
 
Cancellable - Interface in jpower.event
 
CancellableEvent - Class in jpower.event
A class for events that are cancellable
CancellableEvent() - Constructor for class jpower.event.CancellableEvent
 
CancelStateTracker - Class in jpower.core.internal
 
CancelStateTracker() - Constructor for class jpower.core.internal.CancelStateTracker
 
Channel - Class in jpower.irc
 
Channel(PowerIrc, String) - Constructor for class jpower.irc.Channel
 
channel - Variable in class jpower.irc.JoinEvent
 
check() - Method in interface jpower.core.Condition
 
clear() - Static method in class jpower.core.internal.CancelStateTracker
 
Client - Class in jpower.socket
 
Client(Socket) - Constructor for class jpower.socket.Client
 
ClientFactory - Class in jpower.socket
 
ClientFactory(String, int) - Constructor for class jpower.socket.ClientFactory
 
ClientHandler(Socket) - Constructor for class jpower.irc.PowerIrcServer.ClientHandler
 
ClientHandler - Interface in jpower.socket
 
Condition - Interface in jpower.core
Represents any true/false statement
ConditionalExecutor - Class in jpower.core
 
ConditionalExecutor(Runnable) - Constructor for class jpower.core.ConditionalExecutor
 
connect() - Method in class jpower.irc.Network
 
connect() - Method in class jpower.irc.PowerIrc
 
connectAll() - Method in class jpower.irc.MultiClientHandler
 
connected() - Method in class jpower.socket.Client
 
create() - Method in interface jpower.core.Factory
Build an instance of our object.
create() - Method in class jpower.core.TaskFactory
 
create() - Method in class jpower.core.WorkerFactory
 
create() - Method in class jpower.socket.ClientFactory
 
create(String, int) - Static method in class jpower.socket.ClientFactory
 
createBufferedReader(InputStream) - Static method in class jpower.core.utils.IOUtils
 
createBufferedReader(Reader) - Static method in class jpower.core.utils.IOUtils
 
createPrintStream(OutputStream) - Static method in class jpower.core.utils.IOUtils
 
createReader(InputStream) - Static method in class jpower.core.utils.IOUtils
 

D

DeadEvent - Class in jpower.event
 
DeadEvent(Object) - Constructor for class jpower.event.DeadEvent
 
disconnect() - Method in class jpower.socket.Client
 
disconnected() - Method in class jpower.socket.Client
 

E

equals(Object) - Method in class jpower.core.Wrapper
 
EventBus - Class in jpower.event
Implementation of the core EventBus
EventBus() - Constructor for class jpower.event.EventBus
 
EventHandler - Annotation Type in jpower.event
Marks a method as an Event handler
ExceptionUtils - Class in jpower.core.utils
 
ExceptionUtils() - Constructor for class jpower.core.utils.ExceptionUtils
 
execute() - Method in interface jpower.core.Task
 
executeEvent(Object) - Method in class jpower.event.RegisteredHandler
 

F

factorial(int) - Static method in class jpower.core.PowerMath
Calculate the factorial of a number Example: 5! = 5 * 4 * 3 * 2 * 1
Factory<T> - Interface in jpower.core
Utility class that allows you to allow users to easily build an instance of the specified object.
fibonacci(int) - Static method in class jpower.core.PowerMath
Calculate a fibonacci sequence to the nth number

G

get() - Method in class jpower.core.Wrapper
 
getBytes(InputStream) - Static method in class jpower.core.utils.IOUtils
 
getChannel() - Method in class jpower.irc.InviteEvent
 
getChannel() - Method in class jpower.irc.TopicAddEvent
 
getChannel() - Method in class jpower.irc.TopicChangeEvent
 
getCommand() - Method in class jpower.irc.Message
 
getCommit() - Method in class jpower.core.JPower.Release
 
getCurrent() - Static method in class jpower.core.Platform
Get the current Operating System
getEvent() - Method in class jpower.event.DeadEvent
 
getEventBus() - Method in class jpower.irc.PowerIrc
Retrieve the event bus.
getEventType() - Method in class jpower.event.RegisteredMethod
 
getHost() - Method in class jpower.irc.User
 
getHostname() - Method in class jpower.irc.WhoisObject
 
getLargest(int...) - Static method in class jpower.core.PowerMath
Retrieve the largest number from an array
getLine() - Method in class jpower.irc.Message
 
getMessage() - Method in class jpower.irc.Message
 
getMessage() - Method in class jpower.irc.MessageEvent
 
getMOTD() - Method in class jpower.irc.MotdEvent
 
getName() - Method in class jpower.irc.Channel
 
getName() - Method in interface jpower.irc.Sendable
 
getName() - Method in class jpower.irc.User
 
getNetworks() - Method in class jpower.irc.MultiClientHandler
 
getNewTopic() - Method in class jpower.irc.TopicChangeEvent
 
getNickname() - Method in class jpower.irc.User
 
getNickname() - Method in class jpower.irc.WhoisObject
 
getObject() - Method in class jpower.event.RegisteredHandler
 
getOldTopic() - Method in class jpower.irc.TopicChangeEvent
 
getOps() - Method in class jpower.irc.Channel
 
getParameters() - Method in class jpower.irc.Message
 
getPlainHostmask() - Method in class jpower.irc.Message
 
getProcessorArchitecture() - Static method in class jpower.core.Platform
Get the processor architecture of the CPU
getRealname() - Method in class jpower.irc.WhoisObject
 
getRelease() - Static method in class jpower.core.JPower
 
getRemainingCapacity() - Method in class jpower.core.Worker
 
getRemoteAddress() - Method in class jpower.socket.Client
 
getResourceAsString(Class, String) - Static method in class jpower.core.utils.IOUtils
 
getSender() - Method in class jpower.irc.InviteEvent
 
getSender() - Method in class jpower.irc.MessageEvent
 
getSize() - Method in class jpower.core.Worker
 
getSmallest(int...) - Static method in class jpower.core.PowerMath
Retrieve the smallest number from an array
getSocket() - Method in class jpower.socket.Client
 
getTags() - Method in class jpower.irc.Message
 
getTarget() - Method in class jpower.irc.MessageEvent
 
getTopic() - Method in class jpower.irc.Channel
 
getTopic() - Method in class jpower.irc.TopicAddEvent
 
getTrail() - Method in class jpower.irc.PingEvent
 
getType() - Method in class jpower.event.DeadEvent
 
getUsername() - Method in class jpower.irc.User
 
getUsername() - Method in class jpower.irc.WhoisObject
 
getUsers() - Method in class jpower.irc.Channel
 
getVersion() - Method in class jpower.core.JPower.Release
 
getVoices() - Method in class jpower.irc.Channel
 
getWorkerCount() - Method in class jpower.core.WorkerPool
 
getWorkers() - Method in class jpower.core.WorkerPool
 

H

handleClient(Client) - Method in interface jpower.socket.ClientHandler
 
handlers - Variable in class jpower.event.EventBus
Registered handlers
hashCode() - Method in class jpower.core.Wrapper
 
hostname - Variable in class jpower.irc.WhoisObject
 

I

IEventBus - Interface in jpower.event
Interface for representing an Event Bus
intervalUntil(long, TimeUnit, Condition) - Method in class jpower.core.ConditionalExecutor
 
intervalWhen(long, TimeUnit, Condition) - Method in class jpower.core.ConditionalExecutor
 
inverted() - Method in interface jpower.core.Condition
 
invited(InviteEvent) - Method in class jpower.irc.PowerIrc
 
InviteEvent - Class in jpower.irc
 
InviteEvent(User, String) - Constructor for class jpower.irc.InviteEvent
 
invoke(Object, Object) - Method in class jpower.event.RegisteredMethod
 
IOUtils - Class in jpower.core.utils
 
IOUtils() - Constructor for class jpower.core.utils.IOUtils
 
isCancelled(Task) - Static method in class jpower.core.internal.CancelStateTracker
 
isCancelled() - Method in interface jpower.core.Task
 
isCancelled() - Method in interface jpower.event.Cancellable
 
isCancelled() - Method in class jpower.event.CancellableEvent
 
isEventMethod(Method) - Method in class jpower.event.RegisteredHandler
 
isHostmask(String) - Method in class jpower.irc.PowerIrc
Check if a prefix is for another client.
isMacintosh() - Method in class jpower.core.Platform
Determines if the OS is Macintosh
isNull() - Method in class jpower.core.Wrapper
 
isRunning() - Method in class jpower.core.Worker
 
isServer(String) - Method in class jpower.irc.PowerIrc
Check if a prefix is for a server.
isSolaris() - Method in class jpower.core.Platform
Determines if the OS is Solaris-based
isUnix() - Method in class jpower.core.Platform
Determines if the OS is Unix-based
isUnknown() - Method in class jpower.core.Platform
Determines if the OS is unknown
isWindows() - Method in class jpower.core.Platform
Determines if the OS is Windows
isWorking() - Method in class jpower.core.Worker
 

J

join(String) - Method in class jpower.irc.PowerIrc
Join a channel.
JoinEvent - Class in jpower.irc
 
JoinEvent(String) - Constructor for class jpower.irc.JoinEvent
 
JPower - Class in jpower.core
 
JPower() - Constructor for class jpower.core.JPower
 
jpower.core - package jpower.core
 
jpower.core.internal - package jpower.core.internal
 
jpower.core.utils - package jpower.core.utils
 
jpower.event - package jpower.event
 
jpower.irc - package jpower.irc
 
JPower.Release - Class in jpower.core
 
jpower.socket - package jpower.socket
 

M

message(String) - Method in class jpower.irc.Channel
 
Message - Class in jpower.irc
 
Message(String, String, String, String, Map<String, String>, List<String>) - Constructor for class jpower.irc.Message
 
message(String) - Method in interface jpower.irc.Sendable
 
message(String) - Method in class jpower.irc.User
 
MessageEvent - Class in jpower.irc
 
MessageEvent(Sendable, Sendable, String) - Constructor for class jpower.irc.MessageEvent
 
MotdEvent - Class in jpower.irc
 
MotdEvent(List<String>) - Constructor for class jpower.irc.MotdEvent
 
msg(MessageEvent) - Method in class jpower.irc.PowerIrc
Handle message event(both private and channel)
MultiClientHandler - Class in jpower.irc
 
MultiClientHandler(List<Network>) - Constructor for class jpower.irc.MultiClientHandler
 

N

Network - Class in jpower.irc
 
Network(String, String, int, String, String, String) - Constructor for class jpower.irc.Network
 
nick(String) - Method in class jpower.irc.PowerIrc
Send the nick command.
nickname - Variable in class jpower.irc.WhoisObject
 
notice(User, String) - Method in class jpower.irc.PowerIrc
Send a notice to the specified user with a message.

O

of(T) - Static method in class jpower.core.Wrapper
 
offer(Task, long, TimeUnit) - Method in class jpower.core.Worker
 

P

parseHostmask(String) - Method in class jpower.irc.PowerIrc
Parse a hostmask, and create a user with the supplied information.
parseWhoisQuery(String, String) - Method in class jpower.irc.PowerIrc
Parse normal whois object
part(String) - Method in class jpower.irc.PowerIrc
Part a channel.
ping(PingEvent) - Method in class jpower.irc.PowerIrc
Handle ping event
PingEvent - Class in jpower.irc
 
PingEvent(String) - Constructor for class jpower.irc.PingEvent
 
Platform - Class in jpower.core
Provides information about the Platform that the JVM is running on.
post(Object) - Method in class jpower.event.EventBus
 
post(Object) - Method in interface jpower.event.IEventBus
Post an Event
PowerIrc - Class in jpower.irc
 
PowerIrc(String, String, String, String, int, List<String>) - Constructor for class jpower.irc.PowerIrc
 
PowerIrc.Reader - Class in jpower.irc
 
PowerIrcServer - Class in jpower.irc
 
PowerIrcServer(int) - Constructor for class jpower.irc.PowerIrcServer
 
PowerIrcServer.ClientHandler - Class in jpower.irc
 
PowerIrcServer.Reader - Class in jpower.irc
 
PowerMath - Class in jpower.core
A collection of math utilities, could be separated into multiple different classes for math subjects.
PowerMath() - Constructor for class jpower.core.PowerMath
 
privmsg(User, String) - Method in class jpower.irc.PowerIrc
Send a private message to a user.
privmsg(Channel, String) - Method in class jpower.irc.PowerIrc
Send a private message to a channel.

Q

queue - Variable in class jpower.core.Worker
 
queueWhois() - Method in class jpower.irc.User
 

R

Reader() - Constructor for class jpower.irc.PowerIrc.Reader
 
Reader() - Constructor for class jpower.irc.PowerIrcServer.Reader
 
readline() - Method in class jpower.irc.PowerIrc
Read a line from the reader;
readline() - Method in class jpower.irc.PowerIrcServer.ClientHandler
 
readLine() - Method in class jpower.socket.Client
 
readObject() - Method in class jpower.socket.Client
 
readStringFromStream(InputStream) - Static method in class jpower.core.utils.IOUtils
 
ready(ReadyEvent) - Method in class jpower.irc.PowerIrc
Handle ready event: join channels.
ReadyEvent - Class in jpower.irc
 
ReadyEvent() - Constructor for class jpower.irc.ReadyEvent
 
realname - Variable in class jpower.irc.WhoisObject
 
register(Object) - Method in class jpower.event.EventBus
 
register(Object) - Method in interface jpower.event.IEventBus
Register an Event handler
RegisteredHandler - Class in jpower.event
 
RegisteredHandler(Object) - Constructor for class jpower.event.RegisteredHandler
 
RegisteredMethod - Class in jpower.event
 
RegisteredMethod(Method) - Constructor for class jpower.event.RegisteredMethod
 
registerMethods() - Method in class jpower.event.RegisteredHandler
 
Release(Map<String, String>) - Constructor for class jpower.core.JPower.Release
 
removeOp(User) - Method in class jpower.irc.Channel
 
removeTask(Task) - Method in class jpower.core.Worker
 
removeVoice(User) - Method in class jpower.irc.Channel
 
restart() - Method in interface jpower.core.Service
 
run() - Method in interface jpower.core.Task
 
run() - Method in class jpower.core.Worker
 
run() - Method in class jpower.irc.PowerIrc.Reader
 
run() - Method in class jpower.irc.PowerIrcServer.ClientHandler
 
run() - Method in class jpower.irc.PowerIrcServer.Reader
 

S

Sendable - Interface in jpower.irc
 
Service - Interface in jpower.core
 
set(T) - Method in class jpower.core.Wrapper
 
setAnnotationType(Class<? extends Annotation>) - Method in class jpower.event.RegisteredHandler
 
setCancelled(Task, boolean) - Static method in class jpower.core.internal.CancelStateTracker
 
setCancelled(boolean) - Method in interface jpower.event.Cancellable
 
setCancelled(boolean) - Method in class jpower.event.CancellableEvent
 
setClientHandler(ClientHandler) - Method in class jpower.socket.WorkerServer
 
setNickname(String) - Method in class jpower.irc.User
 
setOp(User) - Method in class jpower.irc.Channel
 
setTopic(String) - Method in class jpower.irc.Channel
 
setVoice(User) - Method in class jpower.irc.Channel
 
sleep(long) - Static method in class jpower.core.utils.ThreadUtils
 
start() - Method in interface jpower.core.Service
 
start(Runnable) - Static method in class jpower.core.utils.ThreadUtils
 
start() - Method in class jpower.core.Worker
 
start() - Method in class jpower.socket.WorkerServer
 
startDaemon(Runnable) - Static method in class jpower.core.utils.ThreadUtils
 
stop() - Method in interface jpower.core.Service
 
stop() - Method in class jpower.core.Worker
 
stop() - Method in class jpower.socket.WorkerServer
 
stopWorkers() - Method in class jpower.core.WorkerPool
 
submit(Task) - Method in class jpower.core.WorkerPool
 

T

Task - Interface in jpower.core
 
TaskFactory - Class in jpower.core
 
TaskFactory(Task) - Constructor for class jpower.core.TaskFactory
 
ThreadUtils - Class in jpower.core.utils
 
ThreadUtils() - Constructor for class jpower.core.utils.ThreadUtils
 
throwUnchecked(Exception) - Static method in class jpower.core.utils.ExceptionUtils
 
topicAdd(TopicAddEvent) - Method in class jpower.irc.PowerIrc
 
TopicAddEvent - Class in jpower.irc
 
TopicAddEvent(Channel, String) - Constructor for class jpower.irc.TopicAddEvent
 
topicChange(TopicChangeEvent) - Method in class jpower.irc.PowerIrc
 
TopicChangeEvent - Class in jpower.irc
 
TopicChangeEvent(Channel, String, String) - Constructor for class jpower.irc.TopicChangeEvent
 

U

unregister(Object) - Method in class jpower.event.EventBus
 
unregister(Object) - Method in interface jpower.event.IEventBus
Unregister an Event handler
until(Condition) - Method in class jpower.core.ConditionalExecutor
 
updateUser(WhoisObject) - Method in class jpower.irc.PowerIrc
Update a user from a WhoisObject.
User - Class in jpower.irc
 
User(PowerIrc, String) - Constructor for class jpower.irc.User
 
User(PowerIrc, String, String) - Constructor for class jpower.irc.User
 
User(PowerIrc, String, String, String) - Constructor for class jpower.irc.User
 
User(PowerIrc, String, String, String, String) - Constructor for class jpower.irc.User
 
userJoin(User) - Method in class jpower.irc.Channel
 
username - Variable in class jpower.irc.WhoisObject
 
userPart(User) - Method in class jpower.irc.Channel
 

W

waitFor() - Method in class jpower.core.Worker
 
waitForAll() - Method in class jpower.core.WorkerPool
 
when(Condition) - Method in class jpower.core.ConditionalExecutor
 
whois(String) - Method in class jpower.irc.PowerIrc
Send a whois to the server with the specified nickname.
WhoisObject - Class in jpower.irc
 
WhoisObject(String, String, String, String) - Constructor for class jpower.irc.WhoisObject
 
Worker - Class in jpower.core
 
Worker() - Constructor for class jpower.core.Worker
 
Worker(int) - Constructor for class jpower.core.Worker
 
WorkerFactory - Class in jpower.core
 
WorkerFactory(int) - Constructor for class jpower.core.WorkerFactory
 
WorkerFactory(Worker) - Constructor for class jpower.core.WorkerFactory
 
WorkerPool - Class in jpower.core
 
WorkerPool() - Constructor for class jpower.core.WorkerPool
 
WorkerPool(int) - Constructor for class jpower.core.WorkerPool
 
WorkerServer - Class in jpower.socket
 
WorkerServer(String, int) - Constructor for class jpower.socket.WorkerServer
 
Wrapper<T> - Class in jpower.core
 
Wrapper(T) - Constructor for class jpower.core.Wrapper
 
write(String) - Method in class jpower.socket.Client
 
writeline(String) - Method in class jpower.irc.PowerIrc
Write a line to the writer;
writeLine(String) - Method in class jpower.socket.Client
 
writeObject(Object) - Method in class jpower.socket.Client
 
A C D E F G H I J M N O P Q R S T U W 
Skip navigation links