Overview
Package
Class
Tree
Deprecated
Index
Help
Whack
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
M
O
P
Q
R
S
T
U
A
addComponent(String, Component)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
addComponent(String, Component, Integer)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
answerTimeout(String)
- Method in interface org.jivesoftware.whack.
IQResultListener
Notification method indicating that a predefined time has passed without receiving answer to a previously sent IQ packet.
C
cancelScheduledTask(TimerTask)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Cancels the execution of a scheduled task.
ComponentFinder
- Class in
org.jivesoftware.whack.container
Loads and manages components.
ComponentFinder(ServerContainer, File)
- Constructor for class org.jivesoftware.whack.container.
ComponentFinder
Constructs a new component manager.
ComponentServlet
- Class in
org.jivesoftware.whack.container
The component servlet acts as a proxy for web requests (in the web admin) to components.
ComponentServlet()
- Constructor for class org.jivesoftware.whack.container.
ComponentServlet
connect(String, int, String)
- Method in class org.jivesoftware.whack.
ExternalComponent
Generates a connection with the server and tries to authenticate.
connectionLost()
- Method in class org.jivesoftware.whack.
ExternalComponent
Notification message that the connection with the server was lost unexpectedly.
D
decodeBase64(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Decodes a base64 String.
E
encodeBase64(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Encodes a String as a base64 String.
encodeBase64(byte[])
- Static method in class org.jivesoftware.whack.util.
StringUtils
Encodes a byte array into a base64 String.
encodeHex(byte[])
- Static method in class org.jivesoftware.whack.util.
StringUtils
Turns an array of bytes into a String representing each byte as an unsigned hex number.
escapeForXML(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Escapes all necessary characters in the String so that it can be used in an XML doc.
ExternalComponent
- Class in
org.jivesoftware.whack
ExternalComponents are responsible for connecting and authenticating with a remote server and for sending and processing received packets.
ExternalComponent(Component, ExternalComponentManager)
- Constructor for class org.jivesoftware.whack.
ExternalComponent
ExternalComponent(Component, ExternalComponentManager, int)
- Constructor for class org.jivesoftware.whack.
ExternalComponent
ExternalComponentManager
- Class in
org.jivesoftware.whack
Implementation of the ComponentManager interface for external components.
ExternalComponentManager(String)
- Constructor for class org.jivesoftware.whack.
ExternalComponentManager
Constructs a new ExternalComponentManager that will make connections to the specified XMPP server on the default port (5222).
ExternalComponentManager(String, int)
- Constructor for class org.jivesoftware.whack.
ExternalComponentManager
Constructs a new ExternalComponentManager that will make connections to the specified XMPP server on the given port.
G
getAuthor(Component)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns the author of a component.
getComponent(String)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns a component by name or
null
if a component with that name does not exist.
getComponent()
- Method in class org.jivesoftware.whack.
ExternalComponent
getComponentDirectory(Component)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns the component's directory.
getComponents()
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns a Collection of all found components.
getConnectTimeout()
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Returns the timeout (in milliseconds) to use when trying to connect to the server.
getDescription(Component)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns the description of a component.
getDescription()
- Method in class org.jivesoftware.whack.
ExternalComponent
getDomain()
- Method in class org.jivesoftware.whack.
ExternalComponent
Returns the domain provided by this component in the connected server.
getHomeDirectory()
- Method in class org.jivesoftware.whack.container.
ServerContainer
getInstance()
- Static method in class org.jivesoftware.whack.container.
ServerContainer
getInstance()
- Static method in class org.jivesoftware.whack.util.
TaskEngine
Returns a task engine instance (singleton).
getLog()
- Method in class org.jivesoftware.whack.
ExternalComponentManager
getManager()
- Method in class org.jivesoftware.whack.container.
ServerContainer
getName(Component)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns the name of a component.
getName()
- Method in class org.jivesoftware.whack.
ExternalComponent
getProperties()
- Method in class org.jivesoftware.whack.container.
ServerContainer
getProperty(String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
getSecretKey(String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Returns the secret key for a sub-domain.
getServerName()
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Returns the domain of the XMPP server where we are connected to or
null
if this value was never configured.
getSubdomain()
- Method in class org.jivesoftware.whack.
ExternalComponent
Returns the subdomain provided by this component in the connected server.
getVersion(Component)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Returns the version of a component.
H
hash(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Hashes a String using the SHA-1 algorithm and returns the result as a String of hexadecimal numbers.
I
init(ServletConfig)
- Method in class org.jivesoftware.whack.container.
ComponentServlet
initialize(JID, ComponentManager)
- Method in class org.jivesoftware.whack.
ExternalComponent
IQResultListener
- Interface in
org.jivesoftware.whack
An IQResultListener will be invoked when a previously IQ packet sent by the server was answered.
isExternalMode()
- Method in class org.jivesoftware.whack.
ExternalComponentManager
isMultipleAllowed(String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Returns if we want components to be able to connect multiple times to the same JID.
isSetupMode()
- Method in class org.jivesoftware.whack.container.
ServerContainer
L
loadClass(String, Component)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
M
main(String[])
- Static method in class org.jivesoftware.whack.container.
ServerContainer
O
org.jivesoftware.whack
- package org.jivesoftware.whack
org.jivesoftware.whack.container
- package org.jivesoftware.whack.container
org.jivesoftware.whack.util
- package org.jivesoftware.whack.util
P
PacketReader
- Class in
org.jivesoftware.whack
PacketReader()
- Constructor for class org.jivesoftware.whack.
PacketReader
parseBareAddress(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Returns the XMPP address with any resource information removed.
parseDate(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Parses a textual representation of a Date based on the XMPP standard format and returns a Date.
parseName(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Returns the name portion of a XMPP address.
parseResource(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Returns the resource portion of a XMPP address.
parseServer(String)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Returns the server portion of a XMPP address.
processPacket(Packet)
- Method in class org.jivesoftware.whack.
ExternalComponent
Q
query(Component, IQ, long)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
query(Component, IQ, IQResultListener)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
R
randomString(int)
- Static method in class org.jivesoftware.whack.util.
StringUtils
Returns a random String of numbers and letters (lower and upper case) of the specified length.
receivedAnswer(IQ)
- Method in interface org.jivesoftware.whack.
IQResultListener
Notification method indicating that a previously sent IQ packet has been answered.
registerServlets(ComponentFinder, Component, File)
- Static method in class org.jivesoftware.whack.container.
ComponentServlet
Registers all JSP page servlets for a component.
removeComponent(String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
S
schedule(TimerTask, long)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Schedules the specified task for execution after the specified delay.
schedule(TimerTask, Date)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Schedules the specified task for execution at the specified time.
schedule(TimerTask, long, long)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Schedules the specified task for repeated
fixed-delay execution
, beginning after the specified delay.
schedule(TimerTask, Date, long)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Schedules the specified task for repeated
fixed-delay execution
, beginning at the specified time.
scheduleAtFixedRate(TimerTask, long, long)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Schedules the specified task for repeated
fixed-rate execution
, beginning after the specified delay.
scheduleAtFixedRate(TimerTask, Date, long)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Schedules the specified task for repeated
fixed-rate execution
, beginning at the specified time.
send(Packet)
- Method in class org.jivesoftware.whack.
ExternalComponent
sendPacket(Component, Packet)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
ServerContainer
- Class in
org.jivesoftware.whack.container
Starts the web server and components finder.
ServerContainer()
- Constructor for class org.jivesoftware.whack.container.
ServerContainer
service(HttpServletRequest, HttpServletResponse)
- Method in class org.jivesoftware.whack.container.
ComponentServlet
setConnectTimeout(int)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Sets the timeout (in milliseconds) to use when trying to connect to the server.
setDefaultSecretKey(String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Sets the default secret key, which will be used when connecting if a specific secret key for the component hasn't been sent.
setMultipleAllowed(String, boolean)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Sets whether we will tell the XMPP server that we want multiple components to be able to connect to the same JID.
setProperty(String, String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
setSecretKey(String, String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Sets a secret key for a sub-domain, for future use by a component connecting to the server.
setServerName(String)
- Method in class org.jivesoftware.whack.
ExternalComponentManager
Sets the domain of the XMPP server.
shutdown()
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Shuts down running components that were found by the service.
shutdown()
- Method in class org.jivesoftware.whack.
ExternalComponent
shutdown()
- Method in class org.jivesoftware.whack.util.
TaskEngine
Shuts down the task engine service.
start()
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Starts the service that looks for components.
start()
- Method in class org.jivesoftware.whack.container.
ServerContainer
start()
- Method in class org.jivesoftware.whack.
ExternalComponent
StringUtils
- Class in
org.jivesoftware.whack.util
A collection of utility methods for String objects.
submit(Runnable)
- Method in class org.jivesoftware.whack.util.
TaskEngine
Submits a Runnable task for execution and returns a Future representing that task.
T
TaskEngine
- Class in
org.jivesoftware.whack.util
Performs tasks using worker threads.
U
unloadComponent(String)
- Method in class org.jivesoftware.whack.container.
ComponentFinder
Unloads a component.
unregisterServlets(File)
- Static method in class org.jivesoftware.whack.container.
ComponentServlet
Unregisters all JSP page servlets for a component.
UTC_FORMAT
- Static variable in class org.jivesoftware.whack.util.
StringUtils
A
C
D
E
G
H
I
L
M
O
P
Q
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
Whack
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2008 Jive Software.