A B C D E F G H I J K L M O P Q R S T U W

A

addChannel(Channel) - Method in class com.shimari.bot.BroadcastChannel
 
addComponent(String, Component) - Method in class com.shimari.framework.Registry
 
addListener(TickerListener) - Method in class com.shimari.fxbot.TickerService
 
addSymbolWatch(String) - Method in class com.shimari.fxbot.TickerHandler
 
addTask(CronTask) - Method in class com.shimari.framework.Cron
Add a new task to the queue.
addUIDWatch(Integer) - Method in class com.shimari.fxbot.TickerHandler
 

B

Bot - class com.shimari.bot.Bot.
A Bot is dynamically constructed from a bunch of components.
Bot(Config) - Constructor for class com.shimari.bot.Bot
The default constructor for a Bot -- we must have this so that the Bot can be constructed and configured easily from a configuration file.
Bot(String) - Constructor for class com.shimari.bot.Bot
 
BroadcastChannel - class com.shimari.bot.BroadcastChannel.
A BroadcastChannel is an aggregate of several other channels.
BroadcastChannel() - Constructor for class com.shimari.bot.BroadcastChannel
 
broadcastMessage(String) - Method in class com.shimari.bot.BroadcastChannel
 
broadcastMessage(String) - Method in interface com.shimari.bot.Channel
 
broadcastMessage(String) - Method in interface com.shimari.bot.Connection
 
broadcastMessage(String) - Method in class com.shimari.bot.ConsoleConnection
 
broadcastMessage(String) - Method in class com.shimari.bot.IRC_Connection
CHANNEL API
broadcastNotice(String) - Method in class com.shimari.bot.BroadcastChannel
 
broadcastNotice(String) - Method in interface com.shimari.bot.Channel
 
broadcastNotice(String) - Method in interface com.shimari.bot.Connection
 
broadcastNotice(String) - Method in class com.shimari.bot.ConsoleConnection
 
broadcastNotice(String) - Method in class com.shimari.bot.IRC_Connection
CHANNEL API

C

Channel - interface com.shimari.bot.Channel.
A channel is an abstraction of something that can receive a message.
ClaimHandler - class com.shimari.fxbot.ClaimHandler.
Handle inquiries relating to a specific claim
ClaimHandler(Config) - Constructor for class com.shimari.fxbot.ClaimHandler
 
Component - interface com.shimari.framework.Component.
Component objects combine to form an application.
Config - class com.shimari.framework.Config.
This class is a replacement for java.util.Properties.
Config(URL) - Constructor for class com.shimari.framework.Config
Create a new config loading from the supplied URL.
Config(String) - Constructor for class com.shimari.framework.Config
Create a new config from a file on the current context class loader.
ConfigException - exception com.shimari.framework.ConfigException.
 
ConfigException(String) - Constructor for class com.shimari.framework.ConfigException
 
ConfigException(String, Throwable) - Constructor for class com.shimari.framework.ConfigException
 
ConfigException(URL, String, String) - Constructor for class com.shimari.framework.ConfigException
 
ConfigException(URL, String, String, Throwable) - Constructor for class com.shimari.framework.ConfigException
 
ConfigReader - interface com.shimari.framework.ConfigReader.
Parse input streams for Config.
ConfigUpdater - class com.shimari.framework.ConfigUpdater.
The properties in a Config are generally unmodifiable.
ConfigUpdater(Map) - Constructor for class com.shimari.framework.ConfigUpdater
 
Connection - interface com.shimari.bot.Connection.
A Connection manages a connection to a user or group of users.
ConsoleConnection - class com.shimari.bot.ConsoleConnection.
ConsoleConnection interacts on the command line; it's useful for testing the Bot without connecting to an actual IRC server.
ConsoleConnection() - Constructor for class com.shimari.bot.ConsoleConnection
 
ConsoleMessage - class com.shimari.bot.ConsoleMessage.
Part of the implementation of ConsoleConnection.
ConsoleMessage(String) - Constructor for class com.shimari.bot.ConsoleMessage
 
Cron - class com.shimari.framework.Cron.
Execute periodic events.
Cron(Config) - Constructor for class com.shimari.framework.Cron
 
CronTask - interface com.shimari.framework.CronTask.
 
cancel(FXTP_Order) - Method in class com.shimari.fxtp.FXTP_Trader
 
cancelOrder(FXTP_Order, String) - Method in class com.shimari.fxtp.FXTP
Cancel an order via the FXTP server.
close(String) - Method in class com.shimari.fxtp.FXTP_Trader
 
close(FXTP_Claim) - Method in class com.shimari.fxtp.FXTP_Trader
Determine our current position and issue whatever orders are necessary to close it.
close() - Method in class com.shimari.util.LineReader
 
com.shimari.bot - package com.shimari.bot
 
com.shimari.framework - package com.shimari.framework
 
com.shimari.fxbot - package com.shimari.fxbot
 
com.shimari.fxtp - package com.shimari.fxtp
 
com.shimari.util - package com.shimari.util
 
combine(Iterator, Iterator) - Static method in class com.shimari.util.Util
 
compareTo(Object) - Method in class com.shimari.fxtp.FXTP_Order
Sort by symbol, bid/ask, price, quantity, and user id.
compareTo(Object) - Method in class com.shimari.fxtp.FXTP_Position
 
compareTo(Object) - Method in class com.shimari.fxtp.FXTP_Tick
 
compareTo(Object) - Method in class com.shimari.fxtp.FXTP_UserId
 
components() - Method in class com.shimari.framework.Registry
 
connect() - Method in interface com.shimari.bot.Connection
 
connect() - Method in class com.shimari.bot.ConsoleConnection
 
connect() - Method in class com.shimari.bot.IRC_Connection
CONNECTOR API Connect to the IRC server.
containsKey(String) - Method in class com.shimari.framework.Config
Return true if the key is defined in this Config
containsKey(String) - Method in class com.shimari.framework.Registry
 
cron() - Method in interface com.shimari.framework.CronTask
This will be executed by a Cron thread, and it should be written such that it does not hang.
cron() - Method in class com.shimari.fxbot.TickerService
 
cronInterval() - Method in interface com.shimari.framework.CronTask
Will be called after execution, no matter whether execution terminated by exception or normal return.
cronInterval() - Method in class com.shimari.fxbot.TickerService
 

D

DATE_FORMAT - Static variable in class com.shimari.framework.Config
 
disconnect() - Method in interface com.shimari.bot.Connection
 
disconnect() - Method in class com.shimari.bot.ConsoleConnection
 
disconnect() - Method in class com.shimari.bot.IRC_Connection
CONNECTOR API Disconnect from the IRC server.

E

equals(Object) - Method in class com.shimari.fxtp.FXTP_Claim
 
equals(Object) - Method in class com.shimari.fxtp.FXTP_Order
 
equals(Object) - Method in class com.shimari.fxtp.FXTP_Position
 
equals(Object) - Method in class com.shimari.fxtp.FXTP_Tick
 
equals(Object) - Method in class com.shimari.fxtp.FXTP_UserId
 

F

FXTP - class com.shimari.fxtp.FXTP.
This interface provides an API into the ideosphere.com server; it has been developed independently by Justin Wells.
FXTP(Config) - Constructor for class com.shimari.fxtp.FXTP
 
FXTP_Book - class com.shimari.fxtp.FXTP_Book.
 
FXTP_Book(List, List) - Constructor for class com.shimari.fxtp.FXTP_Book
 
FXTP_Claim - class com.shimari.fxtp.FXTP_Claim.
A Bean representing a claim on FX
FXTP_Claim(String, String, int, int, int, int, int, int, List, List) - Constructor for class com.shimari.fxtp.FXTP_Claim
 
FXTP_Exception - exception com.shimari.fxtp.FXTP_Exception.
An error at the FXTP layer
FXTP_Exception(String) - Constructor for class com.shimari.fxtp.FXTP_Exception
 
FXTP_Exception(String, Throwable) - Constructor for class com.shimari.fxtp.FXTP_Exception
 
FXTP_Order - class com.shimari.fxtp.FXTP_Order.
A Bean representing an Order on FXTP--something that would reside in a book, and we typically call a set of orders a Book.
FXTP_Order(Integer, String, int, int, boolean) - Constructor for class com.shimari.fxtp.FXTP_Order
 
FXTP_Position - class com.shimari.fxtp.FXTP_Position.
A bean representing a position on ideosphere--the combination of a symbol and a quantity.
FXTP_Position(String, int) - Constructor for class com.shimari.fxtp.FXTP_Position
 
FXTP_Tick - class com.shimari.fxtp.FXTP_Tick.
A bean representing a transaction on ideosphere--someone sold something to someone else at a particular moment in time.
FXTP_Tick(String, Date, FXTP_UserId, FXTP_UserId, int, int, int, int) - Constructor for class com.shimari.fxtp.FXTP_Tick
 
FXTP_Trader - class com.shimari.fxtp.FXTP_Trader.
 
FXTP_Trader(FXTP, Integer, String) - Constructor for class com.shimari.fxtp.FXTP_Trader
 
FXTP_Trader(FXTP, FXTP_UserId, String) - Constructor for class com.shimari.fxtp.FXTP_Trader
 
FXTP_User - class com.shimari.fxtp.FXTP_User.
A bean representing an FXTP_User and what we know about them, including their order book and holdings.
FXTP_User(FXTP_UserId, double, double, double, SortedSet, List, List) - Constructor for class com.shimari.fxtp.FXTP_User
 
FXTP_UserId - class com.shimari.fxtp.FXTP_UserId.
A lightweight user with just uid, nym, and email addr, without all the stuff in FXTP_user
FXTP_UserId(Integer, String, String) - Constructor for class com.shimari.fxtp.FXTP_UserId
 
format(LogRecord) - Method in class com.shimari.util.SimpleFormatter
 

G

getAddress(String) - Method in class com.shimari.framework.Config
Return the value as an inet socket address.
getAddress(String, InetSocketAddress) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getAsk() - Method in class com.shimari.fxtp.FXTP_Claim
 
getAskQueue(int) - Method in class com.shimari.fxtp.FXTP_Claim
 
getAsks() - Method in class com.shimari.fxtp.FXTP_Book
 
getAverageAsk(FXTP_UserId, double) - Method in class com.shimari.fxtp.FXTP_Claim
 
getAverageBid(FXTP_UserId, double) - Method in class com.shimari.fxtp.FXTP_Claim
 
getAveragePrice(FXTP_UserId, double) - Method in class com.shimari.fxtp.FXTP_Claim
 
getBean(String, Class) - Method in class com.shimari.framework.Config
Get a property as an Object.
getBean(String) - Method in class com.shimari.framework.Config
Equivalent to getBean(key,Object.class)
getBeanArray(String, Class) - Method in class com.shimari.framework.Config
The key denotes a prefix; all the roots under this prefix will be loaded as beans and returned as an array.
getBeanArray(String) - Method in class com.shimari.framework.Config
Equivalent to getBeanArray(key,Object.class)
getBid() - Method in class com.shimari.fxtp.FXTP_Claim
 
getBidQueue(int) - Method in class com.shimari.fxtp.FXTP_Claim
 
getBids() - Method in class com.shimari.fxtp.FXTP_Book
 
getBook() - Method in class com.shimari.fxtp.FXTP_Book
 
getBroadcastChannel() - Method in class com.shimari.bot.Bot
Return a channel which can be used to talk to everyone who is interested in listening to this bot
getBuyer() - Method in class com.shimari.fxtp.FXTP_Tick
 
getCash() - Method in class com.shimari.fxtp.FXTP_User
 
getChannel() - Method in class com.shimari.bot.ConsoleMessage
 
getChannel() - Method in class com.shimari.bot.IRC_Message
 
getChannel() - Method in interface com.shimari.bot.Message
 
getChannels() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension Return a list of the channels which have been added.
getClaim(String) - Method in class com.shimari.fxtp.FXTP
Get an FXTP_Claim object.
getClass(String) - Method in class com.shimari.framework.Config
Return the value as a Class.
getClass(String, Class) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getClassArray(String) - Method in class com.shimari.framework.Config
Get a property as a Class[].
getComponent(String) - Method in class com.shimari.framework.Registry
 
getComponentRegistry() - Method in class com.shimari.framework.Config
Return the components created under this configuration
getConfig(String) - Method in class com.shimari.framework.Config
Get a copy of the Config, only operating on the subset of keys beginning with the supplied prefix.
getContractPrice() - Method in class com.shimari.fxtp.FXTP_Order
This is the actual price for the underlying contracts.
getCost() - Method in class com.shimari.fxtp.FXTP_Order
 
getDate(String) - Method in class com.shimari.framework.Config
Return the value as a date.
getDate(String, Date) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getDate() - Method in class com.shimari.fxtp.FXTP_Tick
 
getDescription() - Method in class com.shimari.fxtp.FXTP_Claim
 
getDirectory(String) - Method in class com.shimari.framework.Config
Return the value as a File, checking that it is also a directory.
getDirectory(String, File) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getDouble(String) - Method in class com.shimari.framework.Config
Return the value as a double.
getDouble(String, double) - Method in class com.shimari.framework.Config
If the configuration does not contain the key return the default value instead.
getDoubleArray(String) - Method in class com.shimari.framework.Config
Get a property as a double[].
getEmail() - Method in class com.shimari.fxtp.FXTP_UserId
 
getFile(String) - Method in class com.shimari.framework.Config
Return the value as a File.
getFile(String, File) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getFromHost() - Method in class com.shimari.bot.ConsoleMessage
 
getFromHost() - Method in class com.shimari.bot.IRC_Message
 
getFromHost() - Method in interface com.shimari.bot.Message
 
getFromNick() - Method in class com.shimari.bot.ConsoleMessage
 
getFromNick() - Method in class com.shimari.bot.IRC_Message
 
getFromNick() - Method in interface com.shimari.bot.Message
 
getFromUser() - Method in class com.shimari.bot.ConsoleMessage
 
getFromUser() - Method in class com.shimari.bot.IRC_Message
 
getFromUser() - Method in interface com.shimari.bot.Message
 
getId() - Method in class com.shimari.fxtp.FXTP_Order
The id of the user who submitted the order.
getId() - Method in class com.shimari.fxtp.FXTP_Trader
 
getId() - Method in class com.shimari.fxtp.FXTP_User
 
getId() - Method in class com.shimari.fxtp.FXTP_UserId
 
getInteger(String) - Method in class com.shimari.framework.Config
Return the value as an int.
getInteger(String, int) - Method in class com.shimari.framework.Config
If the configuration does not contain the supplied key, return the default value.
getInteger(int) - Static method in class com.shimari.util.Util
 
getIntegerArray(String) - Method in class com.shimari.framework.Config
Get a property as an int[].
getKeyword() - Method in class com.shimari.framework.ConfigException
 
getLast() - Method in class com.shimari.fxtp.FXTP_Claim
 
getLastPrice() - Method in class com.shimari.fxtp.FXTP_Tick
 
getLong(String) - Method in class com.shimari.framework.Config
Return the value as a long.
getLong(String, long) - Method in class com.shimari.framework.Config
If the configuration does not contain the supplied key, return the default value instead.
getLongArray(String) - Method in class com.shimari.framework.Config
Get a property as an int[].
getMessage() - Method in class com.shimari.bot.ConsoleMessage
 
getMessage() - Method in class com.shimari.bot.IRC_Message
 
getMessage() - Method in interface com.shimari.bot.Message
 
getMessage() - Method in class com.shimari.framework.ConfigException
 
getNetworth() - Method in class com.shimari.fxtp.FXTP_User
 
getNick() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension
getNym() - Method in class com.shimari.fxtp.FXTP_UserId
 
getPairs() - Method in class com.shimari.fxtp.FXTP_Claim
 
getPairs() - Method in class com.shimari.fxtp.FXTP_Tick
 
getPattern(String) - Method in class com.shimari.framework.Config
Return a regular expression pattern.
getPattern(String, Pattern) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getPeople() - Method in class com.shimari.fxtp.FXTP_Claim
 
getPeople() - Method in class com.shimari.fxtp.FXTP_Tick
 
getPort() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension
getPosition() - Method in class com.shimari.fxtp.FXTP_User
 
getPosition(String) - Method in class com.shimari.fxtp.FXTP_User
 
getPrice() - Method in class com.shimari.fxtp.FXTP_Order
This price is the "positive" price used in quoting bid/ask ranges for yes contracts.
getPrice() - Method in class com.shimari.fxtp.FXTP_Tick
 
getQuantity() - Method in class com.shimari.fxtp.FXTP_Order
This value is always positive, and represents the number of contracts ordered.
getQuantity() - Method in class com.shimari.fxtp.FXTP_Position
 
getQuantity() - Method in class com.shimari.fxtp.FXTP_Tick
 
getRealName() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension
getScore() - Method in class com.shimari.fxtp.FXTP_User
 
getSeller() - Method in class com.shimari.fxtp.FXTP_Tick
 
getServer() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension
getSignedQuantity() - Method in class com.shimari.fxtp.FXTP_Order
Return the quantity as a positive number for bids, and negative number for asks.
getSource() - Method in class com.shimari.framework.Config
Return the source of the configuration
getSpread(FXTP_UserId, double) - Method in class com.shimari.fxtp.FXTP_Claim
 
getStatus() - Method in class com.shimari.fxtp.FXTP_Claim
 
getString(String) - Method in class com.shimari.framework.Config
Get a property as a String.
getString(String, String) - Method in class com.shimari.framework.Config
Instead of throwing a ConfigException, return the default value if the string is not in the configuration.
getStringArray(String) - Method in class com.shimari.framework.Config
Get a property as a String[].
getStringarray(String, String) - Method in class com.shimari.framework.Config
Similar to getStringArray(key) but you get to choose the splitting regular expression
getSymbol() - Method in class com.shimari.fxtp.FXTP_Claim
 
getSymbol() - Method in class com.shimari.fxtp.FXTP_Order
 
getSymbol() - Method in class com.shimari.fxtp.FXTP_Position
 
getSymbol() - Method in class com.shimari.fxtp.FXTP_Tick
 
getTicker(Integer, String, int) - Method in class com.shimari.fxbot.TickerService
 
getTicker(int, Integer, String, int) - Method in class com.shimari.fxtp.FXTP
Get a ticker from the FXTP server.
getToNick() - Method in class com.shimari.bot.ConsoleMessage
 
getToNick() - Method in class com.shimari.bot.IRC_Message
 
getToNick() - Method in interface com.shimari.bot.Message
 
getToServer() - Method in class com.shimari.bot.ConsoleMessage
 
getToServer() - Method in class com.shimari.bot.IRC_Message
 
getToServer() - Method in interface com.shimari.bot.Message
 
getURL(String) - Method in class com.shimari.framework.Config
Return the value as a URL.
getURL(String, URL) - Method in class com.shimari.framework.Config
If the key does not exist in the configuration, return the default value instead.
getUser(Integer) - Method in class com.shimari.fxtp.FXTP
Lookup a user.
getUser(FXTP_UserId) - Method in class com.shimari.fxtp.FXTP
Get an FXTP_User object.
getUser() - Method in class com.shimari.fxtp.FXTP_Trader
 
getUserId(String) - Method in class com.shimari.fxtp.FXTP
Resolve a nym to a userid.
getUserId(Integer) - Method in class com.shimari.fxtp.FXTP
Resolve an integer id to a full userid.
getUserId(int) - Method in class com.shimari.fxtp.FXTP
Call getUser(FXTP_UserId)
getUserId() - Method in class com.shimari.fxtp.FXTP_Trader
 
getUserId() - Method in class com.shimari.fxtp.FXTP_User
 
getUserName() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension

H

Handler - interface com.shimari.bot.Handler.
Messages are supplied to a handler for processing.
HelpHandler - class com.shimari.bot.HelpHandler.
Explain how to use the Bot.
HelpHandler(Config) - Constructor for class com.shimari.bot.HelpHandler
 
handle(Message) - Method in interface com.shimari.bot.Handler
Handle a message.
handle(Message) - Method in class com.shimari.bot.HelpHandler
 
handle(Message) - Method in class com.shimari.fxbot.ClaimHandler
 
handle(Message) - Method in class com.shimari.fxbot.QuoteHandler
 
handle(Message) - Method in class com.shimari.fxbot.TickerHandler
 
handle(Message) - Method in class com.shimari.fxbot.TradeHandler
 
handle(Message) - Method in class com.shimari.fxbot.UserHandler
 
handlesFileType(String) - Method in interface com.shimari.framework.ConfigReader
Returns true if this read can parse files with the supplied extension, eg "properties" or "xml".
handlesFileType(String) - Method in class com.shimari.framework.PropertiesConfigReader
 
hashCode() - Method in class com.shimari.fxtp.FXTP_Claim
 
hashCode() - Method in class com.shimari.fxtp.FXTP_Order
 
hashCode() - Method in class com.shimari.fxtp.FXTP_Position
 
hashCode() - Method in class com.shimari.fxtp.FXTP_Tick
 
hashCode() - Method in class com.shimari.fxtp.FXTP_UserId
 

I

IRC_Connection - class com.shimari.bot.IRC_Connection.
A Connection manages a connection to an IRC server.
IRC_Connection(Config) - Constructor for class com.shimari.bot.IRC_Connection
Create (but do not connect) a new Connection.
IRC_Message - class com.shimari.bot.IRC_Message.
A message from an IRC_Connection
init(Registry) - Method in class com.shimari.bot.Bot
 
init(Registry) - Method in class com.shimari.bot.ConsoleConnection
 
init(Registry) - Method in class com.shimari.bot.HelpHandler
 
init(Registry) - Method in class com.shimari.bot.IRC_Connection
 
init(Registry) - Method in interface com.shimari.framework.Component
 
init(Registry) - Method in class com.shimari.framework.Cron
 
init(Registry) - Method in class com.shimari.fxbot.ClaimHandler
 
init(Registry) - Method in class com.shimari.fxbot.QuoteHandler
 
init(Registry) - Method in class com.shimari.fxbot.TickerHandler
 
init(Registry) - Method in class com.shimari.fxbot.TickerService
 
init(Registry) - Method in class com.shimari.fxbot.TradeHandler
 
init(Registry) - Method in class com.shimari.fxbot.UserHandler
 
init(Registry) - Method in class com.shimari.fxtp.FXTP
 
initAll() - Method in class com.shimari.framework.Registry
Before a component can be used it must be initialized.
isActive() - Method in class com.shimari.fxtp.FXTP_Claim
 
isActiveListener() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension An active listener will relay all public messages to the Bot, whether or not they are addressed to our nick.
isActiveListener(boolean) - Method in class com.shimari.bot.IRC_Connection
 
isAddressed() - Method in class com.shimari.bot.ConsoleMessage
 
isAddressed() - Method in class com.shimari.bot.IRC_Message
 
isAddressed() - Method in interface com.shimari.bot.Message
Was the message directly addressed to us?
isBid() - Method in class com.shimari.fxtp.FXTP_Order
True if this is an order to purchase yes contracts; false if it is an order to purchase no contracts.
isConnected() - Method in interface com.shimari.bot.Connection
 
isConnected() - Method in class com.shimari.bot.ConsoleConnection
 
isConnected() - Method in class com.shimari.bot.IRC_Connection
CONNECTOR API Return true if connected.
isEmpty() - Method in class com.shimari.framework.Config
Return true if the Config contains no values
isInvitable() - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension An invitable connection will automatically join any channel to which it is invited by another user.
isInvitable(boolean) - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension Set whether we are invitable
isLong() - Method in class com.shimari.fxtp.FXTP_Position
 
isPublic() - Method in class com.shimari.bot.ConsoleMessage
 
isPublic() - Method in class com.shimari.bot.IRC_Message
 
isPublic() - Method in interface com.shimari.bot.Message
Was the message sent through a channel?
isRunning() - Method in class com.shimari.bot.Bot
 

J

joinChannel(String, boolean) - Method in class com.shimari.bot.IRC_Connection
IRC_Connection extension Join a channel.

K

keySet() - Method in class com.shimari.framework.Config
Get a set containing the keys of this configuration.
keys() - Method in class com.shimari.framework.Config
Get the keys.
keys() - Method in class com.shimari.framework.Registry
 

L

Launcher - class com.shimari.framework.Launcher.
 
Launcher(Config) - Constructor for class com.shimari.framework.Launcher
 
LineReader - class com.shimari.util.LineReader.
 
LineReader(Reader) - Constructor for class com.shimari.util.LineReader
 

M

Message - interface com.shimari.bot.Message.
A Message comes from a Connection and represents something sent to the connector by a client.
main(String[]) - Static method in class com.shimari.framework.Launcher
 
main(String[]) - Static method in class com.shimari.util.Util
 
market(String) - Method in class com.shimari.fxtp.FXTP_Trader
Determine a reasonable spread for claim and create trades

O

onDisconnected() - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when the own connection is broken.
onError(String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when an ERROR command is received.
onError(int, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when a numeric error is received.
onInvite(String, IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody is invited to a channel.
onJoin(String, IRCUser) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody joins a channel.
onKick(String, IRCUser, String, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody is kicked from a channel.
onMode(String, IRCUser, IRCModeParser) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when an operator changes the modes of a channel.
onMode(IRCUser, String, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody changes somebody's usermodes.
onNick(IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody changes his nickname successfully.
onNotice(String, IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody sends a NOTICE to a user or a group.
onPart(String, IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody parts from a channel.
onPing(String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when a PING comes in.
onPrivmsg(String, IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when a user sends a PRIVMSG to a user or to a group.
onQuit(IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when somebody quits from the network.
onRegistered() - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when the own connection is successfully established.
onReply(int, String, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when a numeric reply is received.
onTopic(String, IRCUser, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- Fired when the topic is changed by operators.

P

PropertiesConfigReader - class com.shimari.framework.PropertiesConfigReader.
Parses ".properties" files into Config objects.
PropertiesConfigReader() - Constructor for class com.shimari.framework.PropertiesConfigReader
 
parse(ConfigUpdater, BufferedReader) - Method in interface com.shimari.framework.ConfigReader
 
parse(ConfigUpdater, BufferedReader) - Method in class com.shimari.framework.PropertiesConfigReader
 

Q

QuoteHandler - class com.shimari.fxbot.QuoteHandler.
Retrieve detailed quotes from ideosphere, calculating all sorts of useful additional information that is not normally part of a quote, and showing the book.
QuoteHandler(Config) - Constructor for class com.shimari.fxbot.QuoteHandler
 

R

Registry - class com.shimari.framework.Registry.
Registry lists all the components loaded by a Config system and is passed in the init method of a Component to enable Components to look each other up.
Registry() - Constructor for class com.shimari.framework.Registry
 
read(char[], int, int) - Method in class com.shimari.util.LineReader
 
readLine() - Method in class com.shimari.util.LineReader
 
refresh(String) - Method in class com.shimari.fxtp.FXTP
Clear a specific claim from the cache
refresh(Integer) - Method in class com.shimari.fxtp.FXTP
Clear a specific user from the cache
refresh(FXTP_UserId) - Method in class com.shimari.fxtp.FXTP
Clear a specific user from the cache
refresh() - Method in class com.shimari.fxtp.FXTP_Trader
Ordinarily the FXTP_User we have is cached for up to 2 minutes.
removeSymbolWatch(String) - Method in class com.shimari.fxbot.TickerHandler
 
removeUIDWatch(Integer) - Method in class com.shimari.fxbot.TickerHandler
 
replaceAll(FXTP_Book, FXTP_Order) - Method in class com.shimari.fxtp.FXTP_Trader
Replace all our orders in the supplied book with the single new order that is provided.
rootSet() - Method in class com.shimari.framework.Config
Get the root keys.
run() - Method in class com.shimari.bot.Bot
The main loop.
run() - Method in class com.shimari.bot.ConsoleConnection
 
run() - Method in class com.shimari.framework.Cron
 
run() - Method in class com.shimari.framework.Launcher
 

S

SEPARATOR - Static variable in class com.shimari.framework.Config
 
SimpleFormatter - class com.shimari.util.SimpleFormatter.
 
SimpleFormatter() - Constructor for class com.shimari.util.SimpleFormatter
 
sendMessage(String, String) - Method in interface com.shimari.bot.Connection
 
sendMessage(String, String) - Method in class com.shimari.bot.ConsoleConnection
 
sendMessage(String, String) - Method in class com.shimari.bot.IRC_Connection
CONNECTOR API Target can be a nick or a channel (beginning with '#')
sendReply(String) - Method in class com.shimari.bot.ConsoleMessage
 
sendReply(String[]) - Method in class com.shimari.bot.ConsoleMessage
 
sendReply(String[]) - Method in class com.shimari.bot.IRC_Message
 
sendReply(String) - Method in class com.shimari.bot.IRC_Message
 
sendReply(String) - Method in interface com.shimari.bot.Message
Send a reply to the originator.
sendReply(String[]) - Method in interface com.shimari.bot.Message
Send a series of lines as a reply.
setLastPrice(int) - Method in class com.shimari.fxtp.FXTP_Tick
 
setMessageQueue(Collection) - Method in interface com.shimari.bot.Connection
 
setMessageQueue(Collection) - Method in class com.shimari.bot.ConsoleConnection
 
setMessageQueue(Collection) - Method in class com.shimari.bot.IRC_Connection
CONNECTOR API All messages that should be processed must be added to this message queue.
setProperty(String, String) - Method in class com.shimari.framework.ConfigUpdater
 
size() - Method in class com.shimari.framework.Config
Return the number of keys in this Config.
submit(FXTP_Order) - Method in class com.shimari.fxtp.FXTP_Trader
 
submitOrder(FXTP_Order, String) - Method in class com.shimari.fxtp.FXTP
Submit an order to the FXTP server.

T

TickerHandler - class com.shimari.fxbot.TickerHandler.
Handle all requests associated with viewing a ticker; also monitor the ticker periodically and broadcast interesing updates to the channel.
TickerHandler(Config) - Constructor for class com.shimari.fxbot.TickerHandler
 
TickerListener - interface com.shimari.fxbot.TickerListener.
 
TickerService - class com.shimari.fxbot.TickerService.
Provide notifications of ticker events
TickerService(Config) - Constructor for class com.shimari.fxbot.TickerService
 
TradeHandler - class com.shimari.fxbot.TradeHandler.
 
TradeHandler(Config) - Constructor for class com.shimari.fxbot.TradeHandler
 
tick(FXTP_Tick) - Method in class com.shimari.fxbot.TickerHandler
 
tick(FXTP_Tick) - Method in interface com.shimari.fxbot.TickerListener
 
toShortString() - Method in class com.shimari.fxtp.FXTP_Order
Return a string representing the order omitting the user and the symbol.
toString() - Method in class com.shimari.bot.ConsoleMessage
 
toString() - Method in class com.shimari.bot.IRC_Connection
 
toString() - Method in class com.shimari.bot.IRC_Message
 
toString() - Method in class com.shimari.fxtp.FXTP_Claim
 
toString() - Method in class com.shimari.fxtp.FXTP_Order
Returns a string representing the order, including the symbol.
toString() - Method in class com.shimari.fxtp.FXTP_Position
 
toString() - Method in class com.shimari.fxtp.FXTP_Tick
 
toString() - Method in class com.shimari.fxtp.FXTP_Trader
 
toString() - Method in class com.shimari.fxtp.FXTP_User
 
toString() - Method in class com.shimari.fxtp.FXTP_UserId
 

U

UserHandler - class com.shimari.fxbot.UserHandler.
Handle all queries relating to a user
UserHandler(Config) - Constructor for class com.shimari.fxbot.UserHandler
 
Util - class com.shimari.util.Util.
 
Util() - Constructor for class com.shimari.util.Util
 
unknown(String, String, String, String) - Method in class com.shimari.bot.IRC_Connection
IRCEventListener API -- This event is fired when the incoming line can not be identified as a known event.

W

watches() - Method in class com.shimari.fxbot.TickerHandler
 

A B C D E F G H I J K L M O P Q R S T U W