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
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.
address
- Variable in class nl.justobjects.pushlet.core.
Session
age(long)
- Method in class nl.justobjects.pushlet.core.
Session
Decrease time to live.
alive
- Variable in class nl.justobjects.pushlet.core.
EventPullSource
attributes
- Variable in class nl.justobjects.pushlet.core.
Event
B
BUILD_DATE
- Static variable in class nl.justobjects.pushlet.
Version
BrowserAdapter
- class nl.justobjects.pushlet.core.
BrowserAdapter
.
Generic implementation of ClientAdapter for browser clients.
BrowserAdapter(HttpServletResponse)
- Constructor for class nl.justobjects.pushlet.core.
BrowserAdapter
Constructor.
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.
bytesSent
- Variable in class nl.justobjects.pushlet.core.
BrowserAdapter
C
CHARS
- Static variable in class nl.justobjects.pushlet.util.
Rand
CONTENT_TYPE
- Static variable in class nl.justobjects.pushlet.core.
SerializedAdapter
CONTROLLER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Class factory definitions, used to insert your custom classes.
ClientAdapter
- interface nl.justobjects.pushlet.core.
ClientAdapter
.
Adapter interface for encapsulation of specific HTTP clients.
Command
- class nl.justobjects.pushlet.core.
Command
.
Wraps pushlet request/response data.
Command(Session, Event, HttpServletRequest, HttpServletResponse)
- Constructor for class nl.justobjects.pushlet.core.
Command
Constructor.
Config
- class nl.justobjects.pushlet.core.
Config
.
Loads and maintains overall configuration.
Config()
- Constructor for class nl.justobjects.pushlet.core.
Config
ConfigDefs
- interface nl.justobjects.pushlet.core.
ConfigDefs
.
Definition of config property strings.
Controller
- class nl.justobjects.pushlet.core.
Controller
.
Handles servlet requests from client.
Controller()
- Constructor for class nl.justobjects.pushlet.core.
Controller
Protected constructor as we create through factory method.
capacity
- Variable in class nl.justobjects.pushlet.core.
EventQueue
Defines maximum queue size
cities
- Variable in class nl.justobjects.pushlet.test.
TestEventPullSources.TemperatureEventPullSource
clientAdapter
- Variable in class nl.justobjects.pushlet.core.
Command
Per-response client adapter.
clone()
- Method in class nl.justobjects.pushlet.core.
Event
contentType
- Variable in class nl.justobjects.pushlet.core.
XMLAdapter
Header for strict XML
controller
- Variable in class nl.justobjects.pushlet.core.
Session
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
DEFAULT_SERVLET_URI
- Static variable in interface nl.justobjects.pushlet.core.
Protocol
Default URI .
DISPATCHER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
DefaultLogger
- class nl.justobjects.pushlet.util.
DefaultLogger
.
Default logger.
DefaultLogger()
- Constructor for class nl.justobjects.pushlet.util.
DefaultLogger
Dispatcher
- class nl.justobjects.pushlet.core.
Dispatcher
.
Routes Events to Subscribers.
Dispatcher()
- Constructor for class nl.justobjects.pushlet.core.
Dispatcher
Singleton pattern with factory method: protected constructor.
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.
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.
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.
destroy()
- Method in class nl.justobjects.pushlet.servlet.
Pushlet
disconnect()
- Method in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
doCommand(Command)
- Method in class nl.justobjects.pushlet.core.
Controller
Handle command.
doControl(Event)
- Method in class nl.justobjects.pushlet.client.
PushletClient
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
EMPTY
- Static variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
END_DOCUMENT
- Static variable in class nl.justobjects.pushlet.core.
BrowserAdapter
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.
Event
- class nl.justobjects.pushlet.core.
Event
.
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
EventParser
- class nl.justobjects.pushlet.core.
EventParser
.
Parses XML into Event objects.
EventParser()
- Constructor for class nl.justobjects.pushlet.core.
EventParser
EventPullSource
- class nl.justobjects.pushlet.core.
EventPullSource
.
ABC for specifc EventPullSources.
EventPullSource()
- Constructor for class nl.justobjects.pushlet.core.
EventPullSource
EventQueue
- class nl.justobjects.pushlet.core.
EventQueue
.
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.
EventSource
- interface nl.justobjects.pushlet.core.
EventSource
.
Interface for specifc Event(Pull/Push)Sources.
EventSourceManager
- class nl.justobjects.pushlet.core.
EventSourceManager
.
Maintains lifecycle of event sources.
EventSourceManager()
- Constructor for class nl.justobjects.pushlet.core.
EventSourceManager
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.
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).
event2JavaScript(Event)
- Method in class nl.justobjects.pushlet.core.
BrowserAdapter
Converts the Java Event to a JavaScript function call in browser page.
eventQueue
- Variable in class nl.justobjects.pushlet.core.
Subscriber
Blocking queue.
eventSources
- Static variable in class nl.justobjects.pushlet.core.
EventSourceManager
F
FORCED_PULL_AGENTS
- Static 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.
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).
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.
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
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
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 number of listening Sessions.
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.
Dispatcher
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
getSnapshot()
- Method in class nl.justobjects.pushlet.core.
SessionManager
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
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_SIZE
- Static variable in class nl.justobjects.pushlet.core.
Subscription
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
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.
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.
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
LEASE_TIME_MILLIS
- Variable in class nl.justobjects.pushlet.core.
Session
LEVEL_DEBUG
- Static variable in class nl.justobjects.pushlet.util.
DefaultLogger
LEVEL_ERROR
- Static variable in class nl.justobjects.pushlet.util.
DefaultLogger
LEVEL_FATAL
- Static variable in class nl.justobjects.pushlet.util.
DefaultLogger
LEVEL_INFO
- Static variable in class nl.justobjects.pushlet.util.
DefaultLogger
LEVEL_TRACE
- Static variable in class nl.justobjects.pushlet.util.
DefaultLogger
LEVEL_WARN
- Static variable in class nl.justobjects.pushlet.util.
DefaultLogger
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.
LOGGER_CLASS
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
LOG_LEVEL
- Static variable in interface nl.justobjects.pushlet.core.
ConfigDefs
Logging
Log
- class nl.justobjects.pushlet.util.
Log
.
Logging wrapper.
Log()
- Constructor for class nl.justobjects.pushlet.util.
Log
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
leave()
- Method in class nl.justobjects.pushlet.client.
PushletClient
Leave server, stops session.
level
- Static 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.
listenURL
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
listener
- Variable in class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
Client's listener that gets called back on events.
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.
logger
- Static variable in class nl.justobjects.pushlet.util.
Log
M
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
- 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
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.
mode
- Variable in class nl.justobjects.pushlet.core.
Subscriber
Transfer mode (stream, pull, poll).
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.
N
NON_VOWELS
- Static variable in class nl.justobjects.pushlet.util.
Rand
NR_OF_STOCKS
- Static variable in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
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
now()
- Static method in class nl.justobjects.pushlet.util.
Sys
Shorthand for current time.
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
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
PROPERTIES_FILE
- Static variable in class nl.justobjects.pushlet.core.
Config
PROPERTIES_FILE
- Static variable in class nl.justobjects.pushlet.core.
EventSourceManager
PUBLISH_INTERVAL_MILLIS
- Static variable in class nl.justobjects.pushlet.test.
PushletPingApplication
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
PUSH_MODE
- Variable in class nl.justobjects.pushlet.test.
PushletApplet
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.
Protocol
- interface nl.justobjects.pushlet.core.
Protocol
.
Constants for Pushlet protocols.
Pushlet
- class nl.justobjects.pushlet.servlet.
Pushlet
.
Servlet runs a Subscriber per request.
Pushlet()
- Constructor for class nl.justobjects.pushlet.servlet.
Pushlet
PushletApplet
- class nl.justobjects.pushlet.test.
PushletApplet
.
Tester for applet clients; displays incoming events in text area.
PushletApplet()
- Constructor for class nl.justobjects.pushlet.test.
PushletApplet
PushletClient
- class nl.justobjects.pushlet.client.
PushletClient
.
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.DataEventListener
- class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
.
Internal listener for the Pushlet data channel.
PushletClient.DataEventListener(PushletClientListener, String)
- Constructor for class nl.justobjects.pushlet.client.
PushletClient.DataEventListener
PushletClient.HTTPAuthenticateProxy
- class nl.justobjects.pushlet.client.
PushletClient.HTTPAuthenticateProxy
.
Authenticator
PushletClient.HTTPAuthenticateProxy(String, String)
- Constructor for class nl.justobjects.pushlet.client.
PushletClient.HTTPAuthenticateProxy
PushletClientListener
- interface nl.justobjects.pushlet.client.
PushletClientListener
.
Interface for listener of the PushletClient object.
PushletException
- exception nl.justobjects.pushlet.util.
PushletException
.
Generic exception wrapper.
PushletException()
- Constructor for class nl.justobjects.pushlet.util.
PushletException
PushletException(String, Throwable)
- Constructor for class nl.justobjects.pushlet.util.
PushletException
PushletException(String)
- Constructor for class nl.justobjects.pushlet.util.
PushletException
PushletException(Throwable)
- Constructor for class nl.justobjects.pushlet.util.
PushletException
PushletPingApplication
- class nl.justobjects.pushlet.test.
PushletPingApplication
.
Tester to demonstrate Pushlet use in Java applications.
PushletPingApplication(String, int)
- Constructor for class nl.justobjects.pushlet.test.
PushletPingApplication
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.
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.
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
publish(String, Map)
- Method in class nl.justobjects.pushlet.client.
PushletClient
Publish an event through server.
publishStock(int, String, String)
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
publishStocks()
- Method in class nl.justobjects.pushlet.test.
TestEventPushSources.AEXStocksEventPushSource
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.
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
pushletURL
- Variable in class nl.justobjects.pushlet.client.
PushletClient
Pushlet URL.
Q
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
queue
- Variable in class nl.justobjects.pushlet.core.
EventQueue
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 nl.justobjects.pushlet.util.
Rand
.
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 n