Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
P
R
S
T
U
W
A
AppRunner
- class jegg.impl.
AppRunner
.
AppRunner()
- Constructor for class jegg.impl.
AppRunner
AppXMLContentHandler
- class jegg.impl.
AppXMLContentHandler
.
AppXMLContentHandler(Map, boolean)
- Constructor for class jegg.impl.
AppXMLContentHandler
add(Priority, Object)
- Method in class jegg.impl.
PriorityQueue
Add a prioritized object to the queue.
addChild(Node)
- Method in class jegg.type.
Node
assignTo(Dispatcher)
- Method in class jegg.impl.
EggShell
B
BinaryTree
- class jegg.btree.
BinaryTree
.
BinaryTree()
- Constructor for class jegg.btree.
BinaryTree
bindToPort(Port)
- Method in interface jegg.
EggContext
Bind this egg to the specified port which belongs to another egg.
bindToPort(Port)
- Method in class jegg.impl.
EggContextImpl
C
cancel()
- Method in class jegg.timer.
Timer
Stop the timer.
clear()
- Method in class jegg.impl.
PriorityQueue
Empty the queue.
compareTo(Object)
- Method in class jegg.impl.
Priority
Implementation of the
Comparable
interface that that priorities will be properly handled by a sorted set.
connect(Port)
- Method in class jegg.impl.
PortImpl
Add a port to the list of ports that broadcast messages will be sent to.
createMessage(Object)
- Method in interface jegg.
EggContext
Create a message at the default priority that is ready to be directly written to a message port.
createMessage(Object, Priority)
- Method in interface jegg.
EggContext
Create a message at the specified priority that is ready to be directly written to a message port.
createMessage(Object)
- Method in class jegg.impl.
EggContextImpl
createMessage(Object, Priority)
- Method in class jegg.impl.
EggContextImpl
createRegistry(String)
- Method in class jegg.impl.
PortRegistry
Create a child registry of this registry.
createRepeatingTimer(long, long)
- Method in interface jegg.
EggContext
Create a timer that will periodically send timeout messages to this egg.
createRepeatingTimer(long, long)
- Method in class jegg.impl.
EggContextImpl
createRepeatingTimer(TimeoutListener, long)
- Static method in class jegg.timer.
Timer
Create a timer that will deliver timeout messages periodically.
createRepeatingTimer(TimeoutListener, long, long)
- Static method in class jegg.timer.
Timer
Create a timer that will deliver timeout messages periodically following the initial specified delay.
createSingleShotTimer(long)
- Method in interface jegg.
EggContext
Create a timer that will send a single timeout message to this egg.
createSingleShotTimer(long)
- Method in class jegg.impl.
EggContextImpl
createSingleShotTimer(TimeoutListener, long)
- Static method in class jegg.timer.
Timer
Create a timer that will deliver a single timeout message.
D
DEFAULT_DISPATCHER
- Static variable in class jegg.impl.
Dispatcher
The default scheduler
DEFAULT_DISPATCHER_NAME
- Static variable in class jegg.impl.
Dispatcher
DEFAULT_JEGG_FILE
- Static variable in class jegg.impl.
AppRunner
Dispatcher
- class jegg.impl.
Dispatcher
.
Used to dispatch messages to eggs.
DuplicatePortException
- exception jegg.impl.
DuplicatePortException
.
Exception response sent when an attempt is made to register a port under a name that already exists in the registry.
DuplicatePortException()
- Constructor for class jegg.impl.
DuplicatePortException
Constructor.
DuplicatePortException(String)
- Constructor for class jegg.impl.
DuplicatePortException
Constructor.
DuplicatePortException(Throwable)
- Constructor for class jegg.impl.
DuplicatePortException
Constructor.
DuplicatePortException(String, Throwable)
- Constructor for class jegg.impl.
DuplicatePortException
Constructor.
disconnect(Port)
- Method in class jegg.impl.
PortImpl
Remove a connected port.
E
Egg
- interface jegg.
Egg
.
The interface that must be implemented by each egg.
EggBase
- class jegg.
EggBase
.
A convenience base class for a concrete egg implementation.
EggBase()
- Constructor for class jegg.
EggBase
EggContext
- interface jegg.
EggContext
.
The execution context of an egg.
EggContextImpl
- class jegg.impl.
EggContextImpl
.
EggContextImpl(EggShell)
- Constructor for class jegg.impl.
EggContextImpl
EggShell
- class jegg.impl.
EggShell
.
Base class for implementing an egg.
EggShell(Object, Egg)
- Constructor for class jegg.impl.
EggShell
Construct an egg that dispatches messages to a user-supplied message handler using a specific message dispatcher.
EggShell(Object, Egg, Dispatcher)
- Constructor for class jegg.impl.
EggShell
endDocument()
- Method in class jegg.impl.
AppXMLContentHandler
endElement(String, String, String)
- Method in class jegg.impl.
AppXMLContentHandler
error(SAXParseException)
- Method in class jegg.impl.
AppXMLContentHandler
F
fatalError(SAXParseException)
- Method in class jegg.impl.
AppXMLContentHandler
find(Class)
- Method in class jegg.type.
TypeTree
findNearest(Class)
- Method in class jegg.type.
Node
G
get(int)
- Method in class jegg.btree.
BinaryTree
getAnonymousDispatcher()
- Static method in class jegg.impl.
Dispatcher
getAtLeast(int)
- Method in class jegg.btree.
BinaryTree
getAtMost(int)
- Method in class jegg.btree.
BinaryTree
getBranches()
- Method in class jegg.type.
Node
getContext()
- Method in class jegg.
EggBase
Return this egg's current context.
getCookie()
- Method in class jegg.type.
Node
getCurrentMessage()
- Method in interface jegg.
EggContext
Return the message wrapper of the application message that is currently being handled.
getCurrentMessage()
- Method in class jegg.impl.
EggContextImpl
getDelay()
- Method in class jegg.timer.
Timer
Return the initial delay before the timeouts start.
getDispatcher()
- Method in interface jegg.
EggContext
Return the dispatcher that this egg is assigned to.
getDispatcher(String, boolean)
- Static method in class jegg.impl.
Dispatcher
getDispatcher()
- Method in class jegg.impl.
EggContextImpl
getFrom()
- Method in interface jegg.
Message
Return the port of the egg that sent this message.
getFrom()
- Method in class jegg.impl.
MessageImpl
getFromPort()
- Method in interface jegg.
EggContext
Return the port of the egg that sent the application message that is currently being handled.
getFromPort()
- Method in class jegg.impl.
EggContextImpl
getGreater()
- Method in class jegg.btree.
Node
getHenHouse()
- Static method in class jegg.impl.
HenHouse
getId()
- Method in interface jegg.
EggContext
Return the ID of this egg as assigned to it in the application descriptor.
getId()
- Method in interface jegg.
Port
Return the ID of the egg that owns this port.
getId()
- Method in class jegg.impl.
EggContextImpl
getId()
- Method in class jegg.impl.
PortImpl
getInstance()
- Static method in class jegg.impl.
PortRegistry
Return the default registry.
getInstance(String)
- Static method in class jegg.impl.
PortRegistry
Get a named registry.
getInterface()
- Method in interface jegg.
EggContext
Return the set of message types that this egg recognizes.
getInterface()
- Method in interface jegg.
Port
Return the set of message types understood by the egg associated with this message port.
getInterface()
- Method in class jegg.impl.
EggContextImpl
getInterface()
- Method in class jegg.impl.
EggShell
Return the message types that this egg will handle.
getInterface()
- Method in class jegg.impl.
PortImpl
getInterval()
- Method in class jegg.timer.
Timer
Return the delivery period of this timer, which is the number of milliseconds between timeouts.
getLesser()
- Method in class jegg.btree.
Node
getMessage()
- Method in interface jegg.
Message
Return the application message.
getMessage()
- Method in class jegg.impl.
MessageImpl
getName()
- Method in class jegg.impl.
LocatePortMessage
Return the name to lookup in the registry.
getName()
- Method in class jegg.impl.
Property
getName()
- Method in class jegg.impl.
PublishPortMessage
Return the name that the port should be published under.
getObject()
- Method in class jegg.btree.
Node
getPort()
- Method in class jegg.
EggBase
Return this egg's message port.
getPort()
- Method in interface jegg.
EggContext
Return this egg's message port.
getPort()
- Method in class jegg.impl.
EggContextImpl
getPort()
- Method in class jegg.impl.
EggShell
Return the port used to deliver messages to this egg.
getPort()
- Method in class jegg.impl.
PortRegistry
getPort()
- Method in class jegg.impl.
PublishPortMessage
Return the port that should be published.
getPosition()
- Method in class jegg.btree.
Node
getPriority()
- Method in interface jegg.
Message
Return the dispatch priority of this message.
getPriority()
- Method in class jegg.impl.
MessageImpl
getProperties()
- Method in interface jegg.
EggContext
Return all of the properties configured on this egg in the application descriptor.
getProperties()
- Method in class jegg.impl.
EggContextImpl
getProperty(String)
- Method in interface jegg.
EggContext
Return a property configured on this egg in the application descriptor.
getProperty(String, String)
- Method in interface jegg.
EggContext
Return a property configured on this egg in the application descriptor.
getProperty(String)
- Method in class jegg.impl.
EggContextImpl
getProperty(String, String)
- Method in class jegg.impl.
EggContextImpl
getRoot()
- Method in class jegg.type.
TypeTree
getTimer()
- Method in class jegg.timer.
Timeout
Return the timer that this timeout message is from.
getType()
- Method in class jegg.type.
Node
getValue()
- Method in class jegg.impl.
Property
H
HIGH
- Static variable in class jegg.impl.
Priority
The highest dispatch priority
HatchException
- exception jegg.impl.
HatchException
.
HatchException()
- Constructor for class jegg.impl.
HatchException
HatchException(String)
- Constructor for class jegg.impl.
HatchException
HatchException(Throwable)
- Constructor for class jegg.impl.
HatchException
HatchException(String, Throwable)
- Constructor for class jegg.impl.
HatchException
HenHouse
- class jegg.impl.
HenHouse
.
handle(Object)
- Method in interface jegg.
Egg
The default message handler method.
handle(Object)
- Method in class jegg.impl.
PortRegistry
handle(LocatePortMessage)
- Method in class jegg.impl.
PortRegistry
Handle a lookup request from a client egg.
handle(PublishPortMessage)
- Method in class jegg.impl.
PortRegistry
Handle a request to publish a named port in the registry.
hasNext()
- Method in class jegg.type.
TypeTreeIterator
I
init()
- Method in interface jegg.
Egg
Initialize this egg.
init()
- Method in class jegg.
EggBase
A default implementation, that does nothing, of the initialization method used by the framework to complete the initialization of the derived class egg.
insert(int, Object)
- Method in class jegg.btree.
BinaryTree
insert(Node)
- Method in class jegg.type.
Node
insert(Class, Object)
- Method in class jegg.type.
TypeTree
isEmpty()
- Method in class jegg.impl.
PriorityQueue
Return whether or not the queue is empty.
isRepeating()
- Method in class jegg.timer.
Timer
Return whether or not this timer will deliver multiple timeouts or just a single timeout.
iterator()
- Static method in class jegg.impl.
Dispatcher
iterator()
- Method in class jegg.type.
TypeTree
J
JEGG_FILE_PROP
- Static variable in class jegg.impl.
AppRunner
jegg
- package jegg
The main JEgg package
jegg.btree
- package jegg.btree
jegg.impl
- package jegg.impl
jegg.timer
- package jegg.timer
This package provides the implemenation for a timer that can be used to deliver timeout messages to a listener.
jegg.type
- package jegg.type
L
LOW
- Static variable in class jegg.impl.
Priority
The lowest dispatch priority
LocatePortMessage
- class jegg.impl.
LocatePortMessage
.
Lookup a port by name.
LocatePortMessage(String)
- Constructor for class jegg.impl.
LocatePortMessage
Construct a message specifying the port to lookup.
M
MEDIUM
- Static variable in class jegg.impl.
Priority
The normal dispatch priority
Message
- interface jegg.
Message
.
Used to wrap an application message that is being sent from one egg to another.
MessageImpl
- class jegg.impl.
MessageImpl
.
Used to wrap an application message that is being sent from one egg to another.
MessageImpl(Object, Port, Priority)
- Constructor for class jegg.impl.
MessageImpl
Create a JEgg message.
main(String[])
- Static method in class jegg.impl.
AppRunner
N
Node
- class jegg.btree.
Node
.
Node(int, Object)
- Constructor for class jegg.btree.
Node
Node
- class jegg.type.
Node
.
Node(Class)
- Constructor for class jegg.type.
Node
Node(Class, Object)
- Constructor for class jegg.type.
Node
next()
- Method in class jegg.impl.
PriorityQueue
Return the next object on the queue in order of priority.
next(Priority)
- Method in class jegg.impl.
PriorityQueue
Return the next object of a specific priority.
next()
- Method in class jegg.type.
TypeTreeIterator
P
Port
- interface jegg.
Port
.
An egg message port.
PortException
- exception jegg.
PortException
.
Exception raised if a port can not accept a message for any reason.
PortException()
- Constructor for class jegg.
PortException
PortException(String)
- Constructor for class jegg.
PortException
PortException(Throwable)
- Constructor for class jegg.
PortException
PortException(String, Throwable)
- Constructor for class jegg.
PortException
PortImpl
- class jegg.impl.
PortImpl
.
Used to deliver a message to an egg.
PortRegistry
- class jegg.impl.
PortRegistry
.
Priority
- class jegg.impl.
Priority
.
Enumeration of the dispatch priorities that may be assigned to a message being sent from one egg to another.
PriorityQueue
- class jegg.impl.
PriorityQueue
.
A queue for objects that can be extracted from the queue in order of priority.
PriorityQueue()
- Constructor for class jegg.impl.
PriorityQueue
Property
- class jegg.impl.
Property
.
PublishPortMessage
- class jegg.impl.
PublishPortMessage
.
Used to publish a port in the port registry.
PublishPortMessage(String, Port)
- Constructor for class jegg.impl.
PublishPortMessage
Construct a message specifying a port that should be published.
publishPort(String)
- Method in interface jegg.
EggContext
Publish this egg's message port in the JEgg framework registry.
publishPort(String)
- Method in class jegg.impl.
EggContextImpl
R
remove()
- Method in class jegg.type.
TypeTreeIterator
This operation is not supported.
removeChild(Node)
- Method in class jegg.type.
Node
requestPort(String)
- Method in interface jegg.
EggContext
Request a lookup of a message port in the JEgg framework registry.
requestPort(String)
- Method in class jegg.impl.
EggContextImpl
respond(Object)
- Method in interface jegg.
EggContext
Send a message to the egg that sent the current message.
respond(Object, Priority)
- Method in interface jegg.
EggContext
Send a message to the egg that sent the current message.
respond(Port, Object)
- Method in interface jegg.
EggContext
Send a message to the egg that the specified port belongs to.
respond(Port, Object, Priority)
- Method in interface jegg.
EggContext
Send a message to the egg that the specified port belongs to.
respond(Object)
- Method in class jegg.impl.
EggContextImpl
Send a message to the egg that sent the current message.
respond(Object, Priority)
- Method in class jegg.impl.
EggContextImpl
Send a message to the egg that sent the current message.
respond(Port, Object)
- Method in class jegg.impl.
EggContextImpl
Send a message to the egg that the specified port belongs to.
respond(Port, Object, Priority)
- Method in class jegg.impl.
EggContextImpl
Send a message to the egg that the specified port belongs to.
run()
- Method in class jegg.impl.
Dispatcher
Implementation of the Thread superclass run method.
S
SEPARATOR
- Static variable in class jegg.impl.
PortRegistry
The name separator used to compose the path name of a registry.
send(Object)
- Method in interface jegg.
EggContext
Broadcast a message to all eggs that have bound to this egg's port (see
bindToPort
).
send(Object)
- Method in interface jegg.
Port
Deliver an object as a message to the egg that owns this port.
send(Message)
- Method in interface jegg.
Port
Deliver a message to the egg that owns this port.
send(Object)
- Method in class jegg.impl.
EggContextImpl
Broadcast a message to all eggs that have bound to this egg's port (see
bindToPort
).
send(Object)
- Method in class jegg.impl.
EggShell
Broadcast a message to all eggs that have bound to this egg's port (see
bindToPort
).
send(Object)
- Method in class jegg.impl.
PortImpl
Deliver an object as a message to the egg that owns this port.
send(Message)
- Method in class jegg.impl.
PortImpl
Deliver a message to the egg that owns this port.
setContext(EggContext)
- Method in interface jegg.
Egg
Set the application context for this egg.
setContext(EggContext)
- Method in class jegg.
EggBase
setCookie(Object)
- Method in class jegg.type.
Node
setGreater(Node)
- Method in class jegg.btree.
Node
setLesser(Node)
- Method in class jegg.btree.
Node
setObject(Object)
- Method in class jegg.btree.
Node
size()
- Method in class jegg.impl.
PriorityQueue
return the number of objects remaining on the queue.
start()
- Method in class jegg.impl.
Dispatcher
startDocument()
- Method in class jegg.impl.
AppXMLContentHandler
startElement(String, String, String, Attributes)
- Method in class jegg.impl.
AppXMLContentHandler
T
Timeout
- class jegg.timer.
Timeout
.
The message sent to a timeout listener when the timeout event has occurred..
Timeout(Timer)
- Constructor for class jegg.timer.
Timeout
Construct a timeout message.
TimeoutListener
- interface jegg.timer.
TimeoutListener
.
A listener for timeout message sent by an jegg.timer.Timer instance.
Timer
- class jegg.timer.
Timer
.
A timer that can be used to periodically deliver timeout messages to a listener.
TypeTree
- class jegg.type.
TypeTree
.
This class is used to hold a tree of related types.
TypeTree()
- Constructor for class jegg.type.
TypeTree
TypeTreeIterator
- class jegg.type.
TypeTreeIterator
.
TypeTreeIterator(TypeTree, boolean)
- Constructor for class jegg.type.
TypeTreeIterator
Create an iterator for a type tree.
timeout(Timer)
- Method in interface jegg.timer.
TimeoutListener
Handle the timeout event from an jegg.timer.Timer instance.
toString()
- Method in class jegg.impl.
LocatePortMessage
toString()
- Method in class jegg.impl.
MessageImpl
toString()
- Method in class jegg.impl.
PublishPortMessage
U
UnableToInitializeException
- exception jegg.
UnableToInitializeException
.
Raised by an egg that fails to initialize when the framework invokes the egg's
init()
method.
UnableToInitializeException()
- Constructor for class jegg.
UnableToInitializeException
UnableToInitializeException(String)
- Constructor for class jegg.
UnableToInitializeException
UnableToInitializeException(Throwable)
- Constructor for class jegg.
UnableToInitializeException
UnableToInitializeException(String, Throwable)
- Constructor for class jegg.
UnableToInitializeException
W
warn(SAXParseException)
- Method in class jegg.impl.
AppXMLContentHandler
A
B
C
D
E
F
G
H
I
J
L
M
N
P
R
S
T
U
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2004 . All Rights Reserved.