Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
A
activate()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
Activate the event generator thread.
activate()
- Method in interface nl.justobjects.pushlet.core.
EventSource
Activate the event source.
activate()
- Static method in class nl.justobjects.pushlet.core.
EventSourceManager
Activate all event sources.
activate()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
Activate the event source.
active
- Variable in class nl.justobjects.pushlet.core.
EventPullSource
active
- Variable in class nl.justobjects.pushlet.core.
Subscriber
Are we able to accept/send events ?.
active
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
address
- Variable in class nl.justobjects.pushlet.core.
Session
addSession(Session)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Add session.
addSubscription(String, String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Add a subscription.
age(long)
- Method in class nl.justobjects.pushlet.core.
Session
Decrease time to live.
alive
- Variable in class nl.justobjects.pushlet.core.
EventPullSource
apply(Object, Method, Object[])
- Method in class nl.justobjects.pushlet.core.
SessionManager
Visitor pattern implementation for Session iteration.
attributes
- Variable in class nl.justobjects.pushlet.core.
Event
B
bailout()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Stop listening on stream from server.
bailout()
- Method in class nl.justobjects.pushlet.core.
Subscriber
bailout()
- Method in class nl.justobjects.pushlet.test.
PushletApplet
broadcast(Event)
- Method in class nl.justobjects.pushlet.core.
Dispatcher
Send event to all subscribers.
BrowserAdapter
- Class in
nl.justobjects.pushlet.core
Generic implementation of ClientAdapter for browser clients.
BrowserAdapter(HttpServletResponse)
- Constructor for class nl.justobjects.pushlet.core.
BrowserAdapter
Constructor.
BUILD_DATE
- Static variable in class nl.justobjects.pushlet.
Version
bytesSent
- Variable in class nl.justobjects.pushlet.core.
BrowserAdapter
C
capacity
- Variable in class nl.justobjects.pushlet.core.
EventQueue
Defines maximum queue size
CHARS
- Static variable in class nl.justobjects.pushlet.util.
Rand
cities
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.TemperatureEventPullSource
ClientAdapter
- Interface in
nl.justobjects.pushlet.core
Adapter interface for encapsulation of specific HTTP clients.
clientAdapter
- Variable in class nl.justobjects.pushlet.core.
Command
Per-response client adapter.
clone()
- Method in class nl.justobjects.pushlet.core.
Event
Command
- Class in
nl.justobjects.pushlet.core
Wraps pushlet request/response data.
Command(Session, Event, HttpServletRequest, HttpServletResponse)
- Constructor for class nl.justobjects.pushlet.core.
Command
Constructor.
Config
- Class in
nl.justobjects.pushlet.core
Loads and maintains overall configuration.
Config()
- Constructor for class nl.justobjects.pushlet.core.
Config
ConfigDefs
- Interface in
nl.justobjects.pushlet.core
Definition of config property strings.
CONTENT_TYPE
- Static variable in class nl.justobjects.pushlet.core.
SerializedAdapter
contentType
- Variable in class nl.justobjects.pushlet.core.
XMLAdapter
Header for strict XML
Controller
- Class in
nl.justobjects.pushlet.core
Handles servlet requests from client.
Controller()
- Constructor for class nl.justobjects.pushlet.core.
Controller
Protected constructor as we create through factory method.
controller
- Variable in class nl.justobjects.pushlet.core.
Session
CONTROLLER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Class factory definitions, used to insert your custom classes.
create(Session, Event, HttpServletRequest, HttpServletResponse)
- Static method in class nl.justobjects.pushlet.core.
Command
Create new Command object.
create(Session)
- Static method in class nl.justobjects.pushlet.core.
Controller
Create instance through factory method.
create(String)
- Static method in class nl.justobjects.pushlet.core.
Session
Create instance through factory method.
create(Session)
- Static method in class nl.justobjects.pushlet.core.
Subscriber
Create instance through factory method.
create(String)
- Static method in class nl.justobjects.pushlet.core.
Subscription
Create instance through factory method.
create(String, String)
- Static method in class nl.justobjects.pushlet.core.
Subscription
Create instance through factory method.
createClientAdapter()
- Method in class nl.justobjects.pushlet.core.
Command
Create client notifier based on "format" parameter passed in request.
createDataEvent(String)
- Static method in class nl.justobjects.pushlet.core.
Event
createDataEvent(String, Map)
- Static method in class nl.justobjects.pushlet.core.
Event
createObject(String, String)
- Static method in class nl.justobjects.pushlet.core.
Config
Factory method: create object from property denoting class name.
createSession(Event)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Create new Session (but add later).
createSessionId()
- Method in class nl.justobjects.pushlet.core.
SessionManager
Create unique Session id.
D
dataEventListener
- Variable in class nl.justobjects.pushlet.client.
PushletClient
Internal listener for data events pushed by server.
dbg(String)
- Method in class nl.justobjects.pushlet.test.
PushletApplet
Generic print.
debug
- Variable in class nl.justobjects.pushlet.client.
PushletClient
Debug flag for verbose output.
debug(String)
- Method in class nl.justobjects.pushlet.core.
Controller
Exceptional print util.
debug(String)
- Method in class nl.justobjects.pushlet.core.
Session
Exceptional print util.
debug(String)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Util: stdout printing.
debug(String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Exceptional print util.
debug(String)
- Method in class nl.justobjects.pushlet.core.
XMLAdapter
debug(String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for debug level.
debug(String)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for debug level.
debug(String)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
debug(String)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for debug level.
DEFAULT_SERVLET_URI
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Default URI .
DefaultLogger
- Class in
nl.justobjects.pushlet.util
Default logger.
DefaultLogger()
- Constructor for class nl.justobjects.pushlet.util.
DefaultLogger
delta
- Variable in class nl.justobjects.pushlet.core.
SessionManager.AgingTimerTask
deQueue()
- Method in class nl.justobjects.pushlet.core.
EventQueue
Get head; if empty wait until something in queue.
deQueue(long)
- Method in class nl.justobjects.pushlet.core.
EventQueue
Get head; if empty wait for specified time at max.
deQueueAll(long)
- Method in class nl.justobjects.pushlet.core.
EventQueue
Get all queued Events.
destroy()
- Method in class nl.justobjects.pushlet.servlet.
Pushlet
disconnect()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Dispatcher
- Class in
nl.justobjects.pushlet.core
Routes Events to Subscribers.
Dispatcher()
- Constructor for class nl.justobjects.pushlet.core.
Dispatcher
Singleton pattern with factory method: protected constructor.
Dispatcher.SessionManagerVisitor
- Class in
nl.justobjects.pushlet.core
Supplies Visitor methods for callbacks from SessionManager.
Dispatcher.SessionManagerVisitor()
- Constructor for class nl.justobjects.pushlet.core.
Dispatcher.SessionManagerVisitor
DISPATCHER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
doCommand(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle command.
doControl(Event)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Send control events to server and return response.
doGet(HttpServletRequest, HttpServletResponse)
- Method in class nl.justobjects.pushlet.servlet.
Pushlet
Servlet GET request: handles event requests.
doHeartbeat(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle heartbeat event.
doJoin(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle Join request.
doJoinListen(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle JoinListen request.
doLeave(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle Leave request.
doListen(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle Listen request.
doPost(HttpServletRequest, HttpServletResponse)
- Method in class nl.justobjects.pushlet.servlet.
Pushlet
Servlet POST request: extracts event data from body.
doPublish(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle Publish request.
doRefresh(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle refresh event.
doRequest(Event, HttpServletRequest, HttpServletResponse)
- Method in class nl.justobjects.pushlet.servlet.
Pushlet
Generic request handler (GET+POST).
doSubscribe(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle Subscribe request.
doUnsubscribe(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle Unsubscribe request.
E
e(String)
- Static method in class nl.justobjects.pushlet.test.
TestEventPullSources
Util: stderr print method.
e(String)
- Static method in class nl.justobjects.pushlet.test.
TestEventPushSources
Util: stderr print method.
E_ABORT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Client should abort, permanent error.
E_DATA
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Data.
E_HEARTBEAT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C or C-->S Heartbeat.
E_HEARTBEAT_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C S-->C or C-->S Heartbeat confirmed.
E_JOIN
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Request to join server.
E_JOIN_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Acknowledgement of join.
E_JOIN_LISTEN
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Request to join server.
E_JOIN_LISTEN_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Acknowledgement of join.
E_LEAVE
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Client leaves server.
E_LEAVE_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Ack of leave.
E_LISTEN
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Client starts listening.
E_LISTEN_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Ack of listen.
E_NACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Client error response, transitional error.
E_PUBLISH
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Publish to subject.
E_PUBLISH_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Publish to subject acknowledge.
E_REFRESH
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C or C-->S client refresh of data channel.
E_REFRESH_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C client should refresh data channel.
E_SUBSCRIBE
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Subscribe to subject request.
E_SUBSCRIBE_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S-->C Subscribe to subject acknowledge.
E_UNSUBSCRIBE
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
C-->S Unsubscribe from subject request.
E_UNSUBSCRIBE_ACK
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
S--C Unsubscribe from subject acknowledge.
EMPTY
- Static variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
END_DOCUMENT
- Static variable in class nl.justobjects.pushlet.core.
BrowserAdapter
enQueue(Event)
- Method in class nl.justobjects.pushlet.core.
EventQueue
Put item in queue; waits() indefinitely if queue is full.
enQueue(Event, long)
- Method in class nl.justobjects.pushlet.core.
EventQueue
Put item in queue; if full wait maxtime.
err(String)
- Method in class nl.justobjects.pushlet.test.
StressTester
Generic print.
error(String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for error level.
error(String, Throwable)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message (error level with exception).
error(String)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for error level.
error(String, Throwable)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message (error level with exception).
error(String)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
error(String, Throwable)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
error(String)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for error level.
error(String, Throwable)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message (error level with exception).
Event
- Class in
nl.justobjects.pushlet.core
Represents the event data.
Event(String)
- Constructor for class nl.justobjects.pushlet.core.
Event
Event(String, Map)
- Constructor for class nl.justobjects.pushlet.core.
Event
Event(Map)
- Constructor for class nl.justobjects.pushlet.core.
Event
event2JavaScript(Event)
- Method in class nl.justobjects.pushlet.core.
BrowserAdapter
Converts the Java Event to a JavaScript function call in browser page.
EventParser
- Class in
nl.justobjects.pushlet.core
Parses XML into Event objects.
EventParser()
- Constructor for class nl.justobjects.pushlet.core.
EventParser
EventPullSource
- Class in
nl.justobjects.pushlet.core
ABC for specifc EventPullSources.
EventPullSource()
- Constructor for class nl.justobjects.pushlet.core.
EventPullSource
EventQueue
- Class in
nl.justobjects.pushlet.core
FIFO queue with guarded suspension.
EventQueue()
- Constructor for class nl.justobjects.pushlet.core.
EventQueue
Construct queue with default (8) capacity.
EventQueue(int)
- Constructor for class nl.justobjects.pushlet.core.
EventQueue
Construct queue with specified capacity.
eventQueue
- Variable in class nl.justobjects.pushlet.core.
Subscriber
Blocking queue.
EventSource
- Interface in
nl.justobjects.pushlet.core
Interface for specifc Event(Pull/Push)Sources.
EventSourceManager
- Class in
nl.justobjects.pushlet.core
Maintains lifecycle of event sources.
EventSourceManager()
- Constructor for class nl.justobjects.pushlet.core.
EventSourceManager
eventSources
- Static variable in class nl.justobjects.pushlet.core.
EventSourceManager
F
fatal(String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for fatal level.
fatal(String, Throwable)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message (fatal level with exception).
fatal(String)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for fatal level.
fatal(String, Throwable)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message (fatal level with exception).
fatal(String)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
fatal(String, Throwable)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
fatal(String)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for fatal level.
fatal(String, Throwable)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message (fatal level with exception).
fetchEvents(Command)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Get events from queue and push to client.
fetchNext()
- Method in class nl.justobjects.pushlet.core.
EventQueue
Circular counter.
FORCED_PULL_AGENTS
- Static variable in class nl.justobjects.pushlet.core.
Session
forHTMLTag(String)
- Static method in class nl.justobjects.pushlet.util.
Sys
Replace characters having special meaning
inside
HTML tags with their escaped equivalents, using character entities such as
'&'
.
format
- Variable in class nl.justobjects.pushlet.core.
Session
FORMAT_JAVASCRIPT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
JavaScript callback.
FORMAT_SERIALIZED_JAVA_OBJECT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Java serialized object.
FORMAT_XML
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Stream of XML documents.
FORMAT_XML_STRICT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Single XML document containing zero or more events.
front
- Variable in class nl.justobjects.pushlet.core.
EventQueue
G
getAddress()
- Method in class nl.justobjects.pushlet.core.
Session
Return (remote) Subscriber client's IP address.
getBoolProperty(String)
- Static method in class nl.justobjects.pushlet.core.
Config
getClass(String, String)
- Static method in class nl.justobjects.pushlet.core.
Config
Factory method: create object from property denoting class name.
getClientAdapter()
- Method in class nl.justobjects.pushlet.core.
Command
Get client adapter for request.
getController()
- Method in class nl.justobjects.pushlet.core.
Session
Return command controller.
getEventType()
- Method in class nl.justobjects.pushlet.core.
Event
getField(String)
- Method in class nl.justobjects.pushlet.core.
Event
getField(String, String)
- Method in class nl.justobjects.pushlet.core.
Event
Return field; if null return default.
getFieldNames()
- Method in class nl.justobjects.pushlet.core.
Event
getFormat()
- Method in class nl.justobjects.pushlet.core.
Session
Return Event format to send to client.
getId()
- Method in class nl.justobjects.pushlet.core.
Session
Return (remote) Subscriber client's unique id.
getId()
- Method in class nl.justobjects.pushlet.core.
Subscriber
Get (session) id.
getId()
- Method in class nl.justobjects.pushlet.core.
Subscription
getInstance()
- Static method in class nl.justobjects.pushlet.core.
Dispatcher
Singleton pattern: get single instance.
getInstance()
- Static method in class nl.justobjects.pushlet.core.
SessionManager
Singleton pattern: get single instance.
getIntProperty(String)
- Static method in class nl.justobjects.pushlet.core.
Config
getLabel()
- Method in class nl.justobjects.pushlet.core.
Subscription
getLongProperty(String)
- Static method in class nl.justobjects.pushlet.core.
Config
getMethod(String)
- Method in class nl.justobjects.pushlet.core.
Dispatcher.SessionManagerVisitor
Return Visitor Method by name.
getMode()
- Method in class nl.justobjects.pushlet.core.
Subscriber
getParameter(HttpServletRequest, String)
- Static method in class nl.justobjects.pushlet.util.
Servlets
Get parameter; if not set or empty return null.
getParameter(HttpServletRequest, String, String)
- Static method in class nl.justobjects.pushlet.util.
Servlets
Get parameter; if not set or empty return specified default value.
getPasswordAuthentication()
- Method in class nl.justobjects.pushlet.client.
PushletClient.HTTPAuthenticateProxy
getProperty(String, String)
- Static method in class nl.justobjects.pushlet.core.
Config
getProperty(String)
- Static method in class nl.justobjects.pushlet.core.
Config
getRefreshTimeMillis()
- Method in class nl.justobjects.pushlet.core.
Subscriber
getResponseEvent()
- Method in class nl.justobjects.pushlet.core.
Command
Get pushlet response event.
getSession(String)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Get Session by session id.
getSession()
- Method in class nl.justobjects.pushlet.core.
Subscriber
Return client session.
getSessionCount()
- Method in class nl.justobjects.pushlet.core.
SessionManager
Get number of listening Sessions.
getSessions()
- Method in class nl.justobjects.pushlet.core.
SessionManager
Get copy of listening Sessions.
getSize()
- Method in class nl.justobjects.pushlet.core.
EventQueue
getSleepTime()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.AEXStocksEventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.PingEventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.PushletStatusEventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.SystemStatusEventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.TemperatureEventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.TestEventPullSource
getSleepTime()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.WebPresentationEventPullSource
getStatus()
- Method in class nl.justobjects.pushlet.core.
SessionManager
Get status info.
getStocksLine()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
getSubject()
- Method in class nl.justobjects.pushlet.core.
Event
getSubject()
- Method in class nl.justobjects.pushlet.core.
Subscription
getSubscriber()
- Method in class nl.justobjects.pushlet.core.
Controller
getSubscriber()
- Method in class nl.justobjects.pushlet.core.
Session
Return subscriber.
getSubscriptions()
- Method in class nl.justobjects.pushlet.core.
Subscriber
Return subscriptions.
getUserAgent()
- Method in class nl.justobjects.pushlet.core.
Session
Return remote HTTP User-Agent.
H
handleUnknownEventType(String, Event, PushletClientListener)
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Handle unknown Event (default behaviour).
hasProperty(String)
- Static method in class nl.justobjects.pushlet.core.
Config
hasSession(String)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Is Session present?.
host
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
host
- Variable in class nl.justobjects.pushlet.test.
PushletPingApplication
host
- Static variable in class nl.justobjects.pushlet.test.
StressTester
httpReq
- Variable in class nl.justobjects.pushlet.core.
Command
HTTP Servlet GET/POST request.
httpRsp
- Variable in class nl.justobjects.pushlet.core.
Command
HTTP Servlet GET/POST response.
I
id
- Variable in class nl.justobjects.pushlet.client.
PushletClient
Id gotten on join ack
id
- Variable in class nl.justobjects.pushlet.core.
Session
id
- Variable in class nl.justobjects.pushlet.core.
Subscription
ID_SIZE
- Static variable in class nl.justobjects.pushlet.core.
Subscription
info(String)
- Method in class nl.justobjects.pushlet.core.
Controller
Info.
info(String)
- Method in class nl.justobjects.pushlet.core.
Session
Info.
info(String)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Util: stdout printing.
info(String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Info.
info(String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for info level.
info(String)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for info level.
info(String)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
info(String)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for info level.
init()
- Method in class nl.justobjects.pushlet.servlet.
Pushlet
init()
- Method in class nl.justobjects.pushlet.test.
PushletApplet
One-time setup.
init()
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
init()
- Static method in class nl.justobjects.pushlet.util.
Log
General purpose initialization.
init()
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
init()
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Method allowing to initialize our logger
instance
- Static variable in class nl.justobjects.pushlet.core.
Dispatcher
Singleton pattern: single instance.
instance
- Static variable in class nl.justobjects.pushlet.core.
SessionManager
Singleton pattern: single instance.
isActive()
- Method in class nl.justobjects.pushlet.core.
Subscriber
Are we still active to handle events.
isAlive()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
isEmpty()
- Method in class nl.justobjects.pushlet.core.
EventQueue
Is the queue empty ?
isExpired()
- Method in class nl.justobjects.pushlet.core.
Session
Has session timed out?
isFull()
- Method in class nl.justobjects.pushlet.core.
EventQueue
Is the queue full ?
J
join()
- Method in class nl.justobjects.pushlet.client.
PushletClient
Join server, starts session.
joinListen(PushletClientListener, String, String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Immediate listener: joins/subscribes and listens in one action.
K
kick()
- Method in class nl.justobjects.pushlet.core.
Session
Keep alive by resetting TTL.
L
label
- Variable in class nl.justobjects.pushlet.core.
Subscription
Optional label, a user supplied token.
lastAlive
- Variable in class nl.justobjects.pushlet.core.
Subscriber
lastRun
- Variable in class nl.justobjects.pushlet.core.
SessionManager.AgingTimerTask
LEASE_TIME_MILLIS
- Variable in class nl.justobjects.pushlet.core.
Session
leave()
- Method in class nl.justobjects.pushlet.client.
PushletClient
Leave server, stops session.
level
- Variable in class nl.justobjects.pushlet.util.
DefaultLogger
Level intialized with default.
listen(PushletClientListener)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Open data channel.
listen(PushletClientListener, String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Open data channel in stream or push mode.
listen(PushletClientListener, String, String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Open data channel in stream or push mode with a subject.
LISTEN_FORCE_PULL_AGENTS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LISTEN_FORCE_PULL_ALL
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Listening modes.
listener
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Client's listener that gets called back on events.
listenURL
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
load(String)
- Static method in class nl.justobjects.pushlet.core.
Config
Initialize event sources from properties file.
loadPropertiesFile(String)
- Static method in class nl.justobjects.pushlet.util.
Sys
Load properties file from file path.
loadPropertiesResource(String)
- Static method in class nl.justobjects.pushlet.util.
Sys
Load properties file from classpath.
Log
- Class in
nl.justobjects.pushlet.util
Logging wrapper.
Log()
- Constructor for class nl.justobjects.pushlet.util.
Log
Log4jLogger
- Class in
nl.justobjects.pushlet.util
Logger to use Log4j for logging.
Log4jLogger()
- Constructor for class nl.justobjects.pushlet.util.
Log4jLogger
LOG_LEVEL
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Logging
LOG_LEVEL_DEBUG
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LOG_LEVEL_ERROR
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LOG_LEVEL_FATAL
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LOG_LEVEL_INFO
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LOG_LEVEL_TRACE
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LOG_LEVEL_WARN
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
logger
- Static variable in class nl.justobjects.pushlet.util.
Log
Init with default to have at least some logging.
logger
- Variable in class nl.justobjects.pushlet.util.
Log4jLogger
Level intialized with default.
LOGGER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
M
main(String[])
- Static method in class nl.justobjects.pushlet.core.
EventParser
Test method: use files to test.
main(String[])
- Static method in class nl.justobjects.pushlet.core.
EventQueue
main(String[])
- Static method in class nl.justobjects.pushlet.test.
PushletPingApplication
Main program.
main(String[])
- Static method in class nl.justobjects.pushlet.test.
SimpleListener
Main program.
main(String[])
- Static method in class nl.justobjects.pushlet.test.
StressTester
Main program.
main(String[])
- Static method in class nl.justobjects.pushlet.test.
TestEventPushSources
match(Event)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Determine if we should receive event.
match(Event)
- Method in class nl.justobjects.pushlet.core.
Subscription
Determine if Event matches subscription.
MAX_PUBLISH_INTERVAL_MILLIS
- Static variable in class nl.justobjects.pushlet.test.
StressTester
MAX_SUBSCRIBER_INTERVAL_MILLIS
- Static variable in class nl.justobjects.pushlet.test.
StressTester
MIN_PUBLISH_INTERVAL_MILLIS
- Static variable in class nl.justobjects.pushlet.test.
StressTester
MIN_SUBSCRIBER_INTERVAL_MILLIS
- Static variable in class nl.justobjects.pushlet.test.
StressTester
mode
- Variable in class nl.justobjects.pushlet.core.
Subscriber
Transfer mode (stream, pull, poll).
MODE
- Static variable in class nl.justobjects.pushlet.test.
SimpleListener
MODE_POLL
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
MODE_PULL
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
MODE_STREAM
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
modified
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource.Stock
multicast(Event)
- Method in class nl.justobjects.pushlet.core.
Dispatcher
Send event to subscribers matching Event subject.
mutex
- Variable in class nl.justobjects.pushlet.core.
SessionManager
Lock for any operation on Sessions (Session Map and/or -cache).
N
name
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource.Stock
next(int)
- Method in class nl.justobjects.pushlet.core.
EventQueue
Circular counter.
nextSlideNumber
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.WebPresentationEventPullSource
nl.justobjects.pushlet
- package nl.justobjects.pushlet
nl.justobjects.pushlet.client
- package nl.justobjects.pushlet.client
nl.justobjects.pushlet.core
- package nl.justobjects.pushlet.core
nl.justobjects.pushlet.servlet
- package nl.justobjects.pushlet.servlet
nl.justobjects.pushlet.test
- package nl.justobjects.pushlet.test
nl.justobjects.pushlet.util
- package nl.justobjects.pushlet.util
NON_VOWELS
- Static variable in class nl.justobjects.pushlet.util.
Rand
now()
- Static method in class nl.justobjects.pushlet.util.
Sys
Shorthand for current time.
NR_OF_STOCKS
- Static variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
number
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.TestEventPullSource
O
onAbort(Event)
- Method in interface nl.justobjects.pushlet.client.
PushletClientListener
Abort event from server.
onAbort(Event)
- Method in class nl.justobjects.pushlet.test.
PushletApplet
Abort event from server.
onAbort(Event)
- Method in class nl.justobjects.pushlet.test.
PushletPingApplication
Abort event from server.
onAbort(Event)
- Method in class nl.justobjects.pushlet.test.
SimpleListener
Abort event from server.
onAbort(Event)
- Method in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
Abort event from server.
onData(Event)
- Method in interface nl.justobjects.pushlet.client.
PushletClientListener
Data event from server.
onData(Event)
- Method in class nl.justobjects.pushlet.test.
PushletApplet
Data event from server.
onData(Event)
- Method in class nl.justobjects.pushlet.test.
PushletPingApplication
Data event from server.
onData(Event)
- Method in class nl.justobjects.pushlet.test.
SimpleListener
Data event from server.
onData(Event)
- Method in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
Data event from server.
onError(String)
- Method in interface nl.justobjects.pushlet.client.
PushletClientListener
Error occurred.
onError(String)
- Method in class nl.justobjects.pushlet.test.
PushletApplet
Error occurred.
onError(String)
- Method in class nl.justobjects.pushlet.test.
PushletPingApplication
Error occurred.
onError(String)
- Method in class nl.justobjects.pushlet.test.
SimpleListener
Error occurred.
onError(String)
- Method in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
Error occurred.
onEvent(Event)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Event from Dispatcher: enqueue it.
onHeartbeat(Event)
- Method in interface nl.justobjects.pushlet.client.
PushletClientListener
Heartbeat event from server.
onHeartbeat(Event)
- Method in class nl.justobjects.pushlet.test.
PushletApplet
Heartbeat event from server.
onHeartbeat(Event)
- Method in class nl.justobjects.pushlet.test.
PushletPingApplication
Heartbeat event from server.
onHeartbeat(Event)
- Method in class nl.justobjects.pushlet.test.
SimpleListener
Heartbeat event from server.
onHeartbeat(Event)
- Method in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
Heartbeat event from server.
openURL(String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
out
- Variable in class nl.justobjects.pushlet.core.
SerializedAdapter
out
- Variable in class nl.justobjects.pushlet.core.
XMLAdapter
P
p(String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Util: print.
p(String)
- Static method in class nl.justobjects.pushlet.core.
EventQueue
p(String)
- Method in class nl.justobjects.pushlet.test.
PushletApplet
Generic print.
p(String)
- Method in class nl.justobjects.pushlet.test.
PushletPingApplication
Generic print.
p(String)
- Method in class nl.justobjects.pushlet.test.
SimpleListener
Generic print.
p(String)
- Method in class nl.justobjects.pushlet.test.
StressTester
Generic print.
p(String)
- Static method in class nl.justobjects.pushlet.test.
TestEventPullSources
Util: stdout print method.
p(String)
- Static method in class nl.justobjects.pushlet.test.
TestEventPushSources
Util: stdout print method.
P_EVENT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Event type (join, leave, data, subscribe etc) .
P_FORMAT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Format to receive events
P_FROM
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Originator of Event.
P_ID
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Identifier for client instance within server.
P_MODE
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Protocol mode.
P_REASON
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Reason for errors.
P_SEQ
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Event sequence number, numbers per-client.
P_SUBJECT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Subject (topic) of data event.
P_SUBSCRIPTION_ID
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Subscription id, identifies single subscription.
P_SUBSCRIPTION_LABEL
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Subscription label, may be used to return user-specific token with a data event, e.g.
P_TIME
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Time in seconds since 1970
P_TO
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Addressee of Event, subject or client p_id.
P_URL
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
URL attribute.
P_WAIT
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Wait attribute.
pageURL
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
Here we get our stocks from.
pageURL
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSourceABN
parse(File)
- Static method in class nl.justobjects.pushlet.core.
EventParser
Parse Event from a File.
parse(Reader)
- Static method in class nl.justobjects.pushlet.core.
EventParser
Parse Event from input Reader.
parse(String)
- Static method in class nl.justobjects.pushlet.core.
EventParser
Parse Event from a String.
passivate()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
Deactivate the event generator thread.
passivate()
- Method in interface nl.justobjects.pushlet.core.
EventSource
Deactivate the event source.
passivate()
- Static method in class nl.justobjects.pushlet.core.
EventSourceManager
Deactivate all event sources.
passivate()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
Deactivate the event source.
POLL_REFRESH_TIMEOUT_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
POLL_REFRESH_WAIT_MAX_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
POLL_REFRESH_WAIT_MIN_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
port
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
port
- Variable in class nl.justobjects.pushlet.test.
PushletPingApplication
port
- Static variable in class nl.justobjects.pushlet.test.
StressTester
print(String, String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Print message.
properties
- Static variable in class nl.justobjects.pushlet.core.
Config
PROPERTIES_FILE
- Static variable in class nl.justobjects.pushlet.core.
Config
PROPERTIES_FILE
- Static variable in class nl.justobjects.pushlet.core.
EventSourceManager
Protocol
- Interface in
nl.justobjects.pushlet.core
Constants for Pushlet protocols.
publish(String, Map)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Publish an event through server.
PUBLISH_INTERVAL_MILLIS
- Static variable in class nl.justobjects.pushlet.test.
PushletPingApplication
publishStock(int, String, String)
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
publishStocks()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
PULL_REFRESH_TIMEOUT_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
PULL_REFRESH_WAIT_MAX_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
PULL_REFRESH_WAIT_MIN_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
pullEvent()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.AEXStocksEventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.PingEventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.PushletStatusEventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.SystemStatusEventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.TemperatureEventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.TestEventPullSource
pullEvent()
- Method in class nl.justobjects.pushlet.test.
TestEventPullSources.WebPresentationEventPullSource
push(Event)
- Method in class nl.justobjects.pushlet.core.
BrowserAdapter
Push Event to client.
push(Event)
- Method in interface nl.justobjects.pushlet.core.
ClientAdapter
Push single Event to client.
push(Event)
- Method in class nl.justobjects.pushlet.core.
SerializedAdapter
Push Event to client.
push(Event)
- Method in class nl.justobjects.pushlet.core.
XMLAdapter
Force client to refresh the request.
PUSH_MODE
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
Pushlet
- Class in
nl.justobjects.pushlet.servlet
Servlet runs a Subscriber per request.
Pushlet()
- Constructor for class nl.justobjects.pushlet.servlet.
Pushlet
PushletApplet
- Class in
nl.justobjects.pushlet.test
Tester for applet clients; displays incoming events in text area.
PushletApplet()
- Constructor for class nl.justobjects.pushlet.test.
PushletApplet
PushletClient
- Class in
nl.justobjects.pushlet.client
Client API for Java HTTP client applets or apps.
PushletClient(String)
- Constructor for class nl.justobjects.pushlet.client.
PushletClient
Constructor with full pushlet URL.
PushletClient(String, int)
- Constructor for class nl.justobjects.pushlet.client.
PushletClient
Constructor with host and port using default URI.
pushletClient
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
pushletClient
- Variable in class nl.justobjects.pushlet.test.
PushletPingApplication
pushletClient
- Variable in class nl.justobjects.pushlet.test.
StressTester.EventPublisher
pushletClient
- Variable in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
PushletClient.DataEventListener
- Class in
nl.justobjects.pushlet.client
Internal (default) listener for the Pushlet data channel.
PushletClient.DataEventListener(PushletClientListener, String)
- Constructor for class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
PushletClient.HTTPAuthenticateProxy
- Class in
nl.justobjects.pushlet.client
Authenticator
PushletClient.HTTPAuthenticateProxy(String, String)
- Constructor for class nl.justobjects.pushlet.client.
PushletClient.HTTPAuthenticateProxy
PushletClientListener
- Interface in
nl.justobjects.pushlet.client
Interface for listener of the PushletClient object.
PushletException
- Exception in
nl.justobjects.pushlet.util
Generic exception wrapper.
PushletException()
- Constructor for exception nl.justobjects.pushlet.util.
PushletException
PushletException(String, Throwable)
- Constructor for exception nl.justobjects.pushlet.util.
PushletException
PushletException(String)
- Constructor for exception nl.justobjects.pushlet.util.
PushletException
PushletException(Throwable)
- Constructor for exception nl.justobjects.pushlet.util.
PushletException
PushletLogger
- Interface in
nl.justobjects.pushlet.util
Logger interface to allow different logging providers.
PushletPingApplication
- Class in
nl.justobjects.pushlet.test
Tester to demonstrate Pushlet use in Java applications.
PushletPingApplication(String, int)
- Constructor for class nl.justobjects.pushlet.test.
PushletPingApplication
pushletURL
- Variable in class nl.justobjects.pushlet.client.
PushletClient
Pushlet URL.
Q
queue
- Variable in class nl.justobjects.pushlet.core.
EventQueue
QUEUE_READ_TIMEOUT_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
QUEUE_SIZE
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Queues
QUEUE_WRITE_TIMEOUT_MILLIS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
queueReadTimeoutMillis
- Variable in class nl.justobjects.pushlet.core.
Subscriber
URL to be used in refresh requests in pull/poll modes.
queueWriteTimeoutMillis
- Variable in class nl.justobjects.pushlet.core.
Subscriber
R
Rand
- Class in
nl.justobjects.pushlet.util
Randomizing routines.
Rand()
- Constructor for class nl.justobjects.pushlet.util.
Rand
random
- Static variable in class nl.justobjects.pushlet.util.
Rand
randomBinaryFile(int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomBlob(int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomByte()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomBytes(int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomChar()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomDouble()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomInt()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomInt(int, int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomLong()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomLong(long, long)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomName(int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomNonVowel()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomSleep(long, long)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomString(int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomString()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomTempDir()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomTempFile()
- Static method in class nl.justobjects.pushlet.util.
Rand
randomTextFile(int)
- Static method in class nl.justobjects.pushlet.util.
Rand
randomVowel()
- Static method in class nl.justobjects.pushlet.util.
Rand
rate
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource.Stock
reader
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
rear
- Variable in class nl.justobjects.pushlet.core.
EventQueue
receiveThread
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Receiver receiveThread.
refresh(Event)
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Handle refresh, by pausing.
refreshTimeoutMillis
- Variable in class nl.justobjects.pushlet.core.
Subscriber
refreshURL
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
removeSession(Session)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Register session for removal.
removeSubscription(String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Remove a subscription.
removeSubscriptions()
- Method in class nl.justobjects.pushlet.core.
Subscriber
Remove all subscriptions.
reqEvent
- Variable in class nl.justobjects.pushlet.core.
Command
Pushlet request event.
restarts
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
rspEvent
- Variable in class nl.justobjects.pushlet.core.
Command
Pushlet response event.
run()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Receive event objects from server and callback listener.
run()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
Main loop: sleep, generate event and publish.
run()
- Method in class nl.justobjects.pushlet.core.
SessionManager.AgingTimerTask
Clock tick callback from Timer.
run()
- Method in class nl.justobjects.pushlet.test.
PushletPingApplication
run()
- Method in class nl.justobjects.pushlet.test.
StressTester.EventPublisher
run()
- Method in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
run()
- Method in class nl.justobjects.pushlet.test.
StressTester
run()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
runtime
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.SystemStatusEventPullSource
S
send(String)
- Method in class nl.justobjects.pushlet.core.
BrowserAdapter
Send any string to browser.
sendControlResponse(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Send response on the control channel.
sendRefresh(ClientAdapter, String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Send refresh command to pull/poll clients.
sendResponseHeaders()
- Method in class nl.justobjects.pushlet.core.
Command
Sends HTTP response headers.
sendUpdates()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
SerializedAdapter
- Class in
nl.justobjects.pushlet.core
Implementation of ClientAdapter that sends Events as serialized objects.
SerializedAdapter(HttpServletResponse)
- Constructor for class nl.justobjects.pushlet.core.
SerializedAdapter
Initialize.
servletOut
- Variable in class nl.justobjects.pushlet.core.
BrowserAdapter
servletRsp
- Variable in class nl.justobjects.pushlet.core.
BrowserAdapter
servletRsp
- Variable in class nl.justobjects.pushlet.core.
SerializedAdapter
servletRsp
- Variable in class nl.justobjects.pushlet.core.
XMLAdapter
Servlets
- Class in
nl.justobjects.pushlet.util
Servlet utilities.
Servlets()
- Constructor for class nl.justobjects.pushlet.util.
Servlets
session
- Variable in class nl.justobjects.pushlet.core.
Command
Pushlet session.
session
- Variable in class nl.justobjects.pushlet.core.
Controller
Session
- Class in
nl.justobjects.pushlet.core
Represents client pushlet session state.
Session()
- Constructor for class nl.justobjects.pushlet.core.
Session
Protected constructor as we create through factory method.
session
- Variable in class nl.justobjects.pushlet.core.
Subscriber
SESSION_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
SESSION_ID_GENERATION
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
SESSION_ID_GENERATION_RANDOMSTRING
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
SESSION_ID_GENERATION_UUID
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
SESSION_ID_SIZE
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Session management.
SESSION_MANAGER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
SESSION_TIMEOUT_MINS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
sessionCache
- Variable in class nl.justobjects.pushlet.core.
SessionManager
Cache of Sessions for iteration and to allow concurrent modification.
sessionCacheDirty
- Variable in class nl.justobjects.pushlet.core.
SessionManager
State of SessionCache, becomes true whenever sessionCache out of sync with sessions Map.
SessionManager
- Class in
nl.justobjects.pushlet.core
Manages lifecycle of Sessions.
SessionManager()
- Constructor for class nl.justobjects.pushlet.core.
SessionManager
Singleton pattern: protected constructor needed for derived classes.
SessionManager.AgingTimerTask
- Class in
nl.justobjects.pushlet.core
Manages Session timeouts.
SessionManager.AgingTimerTask()
- Constructor for class nl.justobjects.pushlet.core.
SessionManager.AgingTimerTask
sessionManagerVisitor
- Variable in class nl.justobjects.pushlet.core.
Dispatcher
sessions
- Variable in class nl.justobjects.pushlet.core.
SessionManager
Map of active sessions, keyed by their id, all access is through mutex.
setAddress(String)
- Method in class nl.justobjects.pushlet.core.
Session
Set address.
setAttrs(Map)
- Method in class nl.justobjects.pushlet.core.
Event
Copy given attributes into event attributes
setDebug(boolean)
- Method in class nl.justobjects.pushlet.client.
PushletClient
setField(String, String)
- Method in class nl.justobjects.pushlet.core.
Event
setField(String, int)
- Method in class nl.justobjects.pushlet.core.
Event
setField(String, long)
- Method in class nl.justobjects.pushlet.core.
Event
setFormat(String)
- Method in class nl.justobjects.pushlet.core.
Session
Set event format to encode.
setLevel(int)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Set log level
setLevel(int)
- Static method in class nl.justobjects.pushlet.util.
Log
Set log level
setLevel(int)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
setLevel(int)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Set log level
setMode(String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
setNoCacheHeaders(HttpServletResponse)
- Static method in class nl.justobjects.pushlet.util.
Servlets
Set HTTP headers to prevent caching.
setProxyOptions(String, String, String, String, String, String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Set proxy options and optional proxy authentication.
setResponseEvent(Event)
- Method in class nl.justobjects.pushlet.core.
Command
Set pushlet response event.
setUserAgent(String)
- Method in class nl.justobjects.pushlet.core.
Session
Set client HTTP UserAgent.
SimpleListener
- Class in
nl.justobjects.pushlet.test
Demonstrates join-listen service.
SimpleListener(String, int)
- Constructor for class nl.justobjects.pushlet.test.
SimpleListener
sleepRandom()
- Method in class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
slideRootDir
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.WebPresentationEventPullSource
slideURLs
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.WebPresentationEventPullSource
SOFTWARE_VERSION
- Static variable in class nl.justobjects.pushlet.
Version
Version info extracted from the .jar manifest file (see build.xml and build.properties).
SOURCES_ACTIVATE
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
start()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
start()
- Method in class nl.justobjects.pushlet.core.
BrowserAdapter
Generic init.
start()
- Method in interface nl.justobjects.pushlet.core.
ClientAdapter
Start event push.
start()
- Method in class nl.justobjects.pushlet.core.
Dispatcher
Start Dispatcher.
start()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
start(String)
- Static method in class nl.justobjects.pushlet.core.
EventSourceManager
Initialize event sources from properties file.
start()
- Method in class nl.justobjects.pushlet.core.
SerializedAdapter
start()
- Method in class nl.justobjects.pushlet.core.
Session
start()
- Method in class nl.justobjects.pushlet.core.
SessionManager
Starts us.
start()
- Method in class nl.justobjects.pushlet.core.
Subscriber
start()
- Method in class nl.justobjects.pushlet.core.
XMLAdapter
start()
- Method in class nl.justobjects.pushlet.test.
PushletApplet
START_DOCUMENT
- Static variable in class nl.justobjects.pushlet.core.
BrowserAdapter
startDataEventListener(PushletClientListener, String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Starts default DataEventListener and waits for its thread to start.
stocks
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.AEXStocksEventPullSource
stocksCache
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
stop()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Stop listening; may restart later with start().
stop()
- Method in class nl.justobjects.pushlet.core.
BrowserAdapter
End HTML page in client browser.
stop()
- Method in interface nl.justobjects.pushlet.core.
ClientAdapter
Stop event push.
stop()
- Method in class nl.justobjects.pushlet.core.
Dispatcher
Stop Dispatcher.
stop()
- Method in class nl.justobjects.pushlet.core.
EventPullSource
Stop the event generator thread.
stop()
- Method in interface nl.justobjects.pushlet.core.
EventSource
Halt the event source.
stop()
- Static method in class nl.justobjects.pushlet.core.
EventSourceManager
Halt event sources.
stop()
- Method in class nl.justobjects.pushlet.core.
SerializedAdapter
stop()
- Method in class nl.justobjects.pushlet.core.
Session
stop()
- Method in class nl.justobjects.pushlet.core.
SessionManager
Stopis us.
stop()
- Method in class nl.justobjects.pushlet.core.
Subscriber
stop()
- Method in class nl.justobjects.pushlet.core.
XMLAdapter
No action.
stop()
- Method in class nl.justobjects.pushlet.test.
PushletApplet
stop()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
Deactivate the event source.
stopListen()
- Method in class nl.justobjects.pushlet.client.
PushletClient
Stop the listener.
stopThread()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Stop receiver receiveThread.
stopThread()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
StressTester
- Class in
nl.justobjects.pushlet.test
Tester to demonstrate Pushlet use in Java applications.
StressTester()
- Constructor for class nl.justobjects.pushlet.test.
StressTester
StressTester.EventPublisher
- Class in
nl.justobjects.pushlet.test
StressTester.EventPublisher()
- Constructor for class nl.justobjects.pushlet.test.
StressTester.EventPublisher
StressTester.EventSubscriber
- Class in
nl.justobjects.pushlet.test
StressTester.EventSubscriber()
- Constructor for class nl.justobjects.pushlet.test.
StressTester.EventSubscriber
strictXML
- Variable in class nl.justobjects.pushlet.core.
XMLAdapter
subject
- Variable in class nl.justobjects.pushlet.core.
Subscription
subject
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
SUBJECT
- Static variable in class nl.justobjects.pushlet.test.
PushletPingApplication
SUBJECT
- Static variable in class nl.justobjects.pushlet.test.
SimpleListener
SUBJECT
- Static variable in class nl.justobjects.pushlet.test.
StressTester
SUBJECT_META
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
SUBJECT_META_JOINS
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
SUBJECT_META_SUBS
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
SUBJECT_SEPARATOR
- Static variable in class nl.justobjects.pushlet.core.
Subscription
subjects
- Variable in class nl.justobjects.pushlet.core.
Subscription
subscribe(String, String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Subscribes, returning subscription id.
subscribe(String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Subscribes, returning subscription id.
subscriber
- Variable in class nl.justobjects.pushlet.core.
Session
Subscriber
- Class in
nl.justobjects.pushlet.core
Handles data channel between dispatcher and client.
Subscriber()
- Constructor for class nl.justobjects.pushlet.core.
Subscriber
Protected constructor as we create through factory method.
SUBSCRIBER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Subscription
- Class in
nl.justobjects.pushlet.core
Represents single subject subscription
Subscription()
- Constructor for class nl.justobjects.pushlet.core.
Subscription
Protected constructor as we create through factory method.
SUBSCRIPTION_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
subscriptions
- Variable in class nl.justobjects.pushlet.core.
Subscriber
Map of active subscriptions, keyed by their subscription id.
Sys
- Class in
nl.justobjects.pushlet.util
Utilities that interact with the underlying OS/JVM.
Sys()
- Constructor for class nl.justobjects.pushlet.util.
Sys
T
TESTER_COUNT
- Static variable in class nl.justobjects.pushlet.test.
StressTester
TestEventPullSources
- Class in
nl.justobjects.pushlet.test
Event sources for testing.
TestEventPullSources()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources
TestEventPullSources.AEXStocksEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces events simulating stocks from the AEX.
TestEventPullSources.AEXStocksEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.AEXStocksEventPullSource
TestEventPullSources.PingEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces a ping event.
TestEventPullSources.PingEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.PingEventPullSource
TestEventPullSources.PushletStatusEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces an event related to the Dispatcher.getInstance().
TestEventPullSources.PushletStatusEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.PushletStatusEventPullSource
TestEventPullSources.SystemStatusEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces an event related to the JVM status.
TestEventPullSources.SystemStatusEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.SystemStatusEventPullSource
TestEventPullSources.TemperatureEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces a fake temparature event.
TestEventPullSources.TemperatureEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.TemperatureEventPullSource
TestEventPullSources.TestEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces an event related to the Dispatcher.getInstance().
TestEventPullSources.TestEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.TestEventPullSource
TestEventPullSources.WebPresentationEventPullSource
- Class in
nl.justobjects.pushlet.test
Produces an URL event for automatic webpresentation.
TestEventPullSources.WebPresentationEventPullSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPullSources.WebPresentationEventPullSource
TestEventPushSources
- Class in
nl.justobjects.pushlet.test
Event sources that push events (for testing).
TestEventPushSources()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPushSources
TestEventPushSources.AEXStocksEventPushSource
- Class in
nl.justobjects.pushlet.test
Produces events from REAL stocks from the AEX.
TestEventPushSources.AEXStocksEventPushSource()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
TestEventPushSources.AEXStocksEventPushSource.Stock
- Class in
nl.justobjects.pushlet.test
TestEventPushSources.AEXStocksEventPushSource.Stock()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource.Stock
TestEventPushSources.AEXStocksEventPushSourceABN
- Class in
nl.justobjects.pushlet.test
TestEventPushSources.AEXStocksEventPushSourceABN()
- Constructor for class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSourceABN
textArea
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
thePassword
- Variable in class nl.justobjects.pushlet.client.
PushletClient.HTTPAuthenticateProxy
Contributed by Dele Olajide See http://groups.yahoo.com/group/pushlet/message/634
theUser
- Variable in class nl.justobjects.pushlet.client.
PushletClient.HTTPAuthenticateProxy
thread
- Variable in class nl.justobjects.pushlet.core.
EventPullSource
thread
- Variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
threadNum
- Static variable in class nl.justobjects.pushlet.core.
EventPullSource
throwOnInvalidSession()
- Method in class nl.justobjects.pushlet.client.
PushletClient
throwOnNack(Event)
- Method in class nl.justobjects.pushlet.client.
PushletClient
timer
- Variable in class nl.justobjects.pushlet.core.
SessionManager
Timer to schedule session leasing TimerTasks.
TIMER_INTERVAL_MILLIS
- Variable in class nl.justobjects.pushlet.core.
SessionManager
timeToLive
- Variable in class nl.justobjects.pushlet.core.
Session
toQueryString()
- Method in class nl.justobjects.pushlet.core.
Event
Convert to HTTP query string.
toString()
- Method in class nl.justobjects.pushlet.core.
Controller
toString()
- Method in class nl.justobjects.pushlet.core.
Event
toString()
- Method in class nl.justobjects.pushlet.core.
Session
toString()
- Method in class nl.justobjects.pushlet.core.
Subscriber
toString()
- Method in exception nl.justobjects.pushlet.util.
PushletException
toXML(boolean)
- Method in class nl.justobjects.pushlet.core.
Event
toXML()
- Method in class nl.justobjects.pushlet.core.
Event
trace(String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for trace level.
trace(String)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for trace level.
trace(String)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
trace(String)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for trace level.
U
unicast(Event, String)
- Method in class nl.justobjects.pushlet.core.
Dispatcher
Send event to specific subscriber.
unsubscribe(String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Unsubscribes with subscription id.
unsubscribe()
- Method in class nl.justobjects.pushlet.client.
PushletClient
Unsubscribes from all subjects.
updateCache()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
userAgent
- Variable in class nl.justobjects.pushlet.core.
Session
V
VERSION
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
Version
- Class in
nl.justobjects.pushlet
Version info class.
Version()
- Constructor for class nl.justobjects.pushlet.
Version
visit(Session)
- Method in class nl.justobjects.pushlet.core.
SessionManager.AgingTimerTask
Callback from SessionManager during apply()
visitBroadcast(Session, Event)
- Method in class nl.justobjects.pushlet.core.
Dispatcher.SessionManagerVisitor
Visitor method called by SessionManager.
visitMethod
- Variable in class nl.justobjects.pushlet.core.
SessionManager.AgingTimerTask
visitMulticast(Session, Event)
- Method in class nl.justobjects.pushlet.core.
Dispatcher.SessionManagerVisitor
Visitor method called by SessionManager.
visitorMethods
- Variable in class nl.justobjects.pushlet.core.
Dispatcher.SessionManagerVisitor
VOWELS
- Static variable in class nl.justobjects.pushlet.util.
Rand
W
warn(String)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Util: warn.
warn(String, Throwable)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Util: warn with exception.
warn(String)
- Method in class nl.justobjects.pushlet.core.
Controller
Exceptional print util.
warn(String)
- Method in class nl.justobjects.pushlet.core.
Session
Exceptional print util.
warn(String)
- Method in class nl.justobjects.pushlet.core.
SessionManager
Util: stdout printing.
warn(String)
- Method in class nl.justobjects.pushlet.core.
Subscriber
Exceptional print util.
warn(String)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for warning level.
warn(String, Throwable)
- Method in class nl.justobjects.pushlet.util.
DefaultLogger
Log message for warning level with exception.
warn(String)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for warning level.
warn(String, Throwable)
- Static method in class nl.justobjects.pushlet.util.
Log
Log message for warning level with exception.
warn(String)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
warn(String, Throwable)
- Method in class nl.justobjects.pushlet.util.
Log4jLogger
warn(String)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for warning level.
warn(String, Throwable)
- Method in interface nl.justobjects.pushlet.util.
PushletLogger
Log message for warning level with exception.
X
XMLAdapter
- Class in
nl.justobjects.pushlet.core
ClientAdapter that sends Events as XML.
XMLAdapter(HttpServletResponse)
- Constructor for class nl.justobjects.pushlet.core.
XMLAdapter
Initialize.
XMLAdapter(HttpServletResponse, boolean)
- Constructor for class nl.justobjects.pushlet.core.
XMLAdapter
Initialize.
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2000-2003 - Just Objects B.V.