Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
L
M
N
O
R
S
T
U
V
A
add(Properties)
- Method in class org.tonjac.mini.
Message
Add a property map as message fields
add(String, String)
- Method in class org.tonjac.mini.
Message
Add a key value pair for this message
addField(String, String)
- Method in class org.tonjac.mini.
DataServiceReply
Add a field with a value
addFieldName(String)
- Method in class org.tonjac.mini.
DataServiceReply
Add a field name.
addFieldService(DataService)
- Method in class org.tonjac.mini.
OutputRender
Adds a field data service that will be used by this render to fill the fields in the template page with data
addFieldValue(String)
- Method in class org.tonjac.mini.
DataServiceReply
Add field value
addListService(String, DataService)
- Method in class org.tonjac.mini.
OutputRender
Adds a table data service that will be used by this render to fill a table in the template page with data
addRenderAfter(OutputRender)
- Method in class org.tonjac.mini.
OutputRender
Adds a render that will be executed after this render
addRenderBefore(OutputRender)
- Method in class org.tonjac.mini.
OutputRender
Adds a render that will be executed before this render
append(String)
- Method in class org.tonjac.mini.
RenderServiceReply
Append data to the buffer
C
close()
- Method in class org.tonjac.mini.
DataServiceReply
Frees internally allocated resources.
D
DataService
- Interface in
org.tonjac.mini
Service that gets data and put the same data into the fields defined on the template page.
DataServiceReply
- Class in
org.tonjac.mini
Reply from a data service.
DataServiceReply()
- Constructor for class org.tonjac.mini.
DataServiceReply
Creates a reply object for a DataService
DefaultErrorData
- Class in
org.tonjac.mini
Default error data service.
DefaultErrorData()
- Constructor for class org.tonjac.mini.
DefaultErrorData
DefaultWebApplication
- Class in
org.tonjac.mini
Service mapper using .mini configurationfile that maps services to renders.
DefaultWebApplication()
- Constructor for class org.tonjac.mini.
DefaultWebApplication
E
execute(Session, Properties)
- Method in interface org.tonjac.mini.
DataService
Called by Mini when a data is needed to render a page
execute(Session, Properties)
- Method in class org.tonjac.mini.
DefaultErrorData
Called by Mini when a data is needed to render a Error page
execute(Session, Properties)
- Method in class org.tonjac.mini.
DefaultWebApplication
Called by Mini when the webapp is called from the browser
execute(Session, Properties)
- Method in interface org.tonjac.mini.
RenderService
Called by mini when a request for this webapp is done from a browser
G
GenericRender
- Class in
org.tonjac.mini
Generic output render.
GenericRender(String, Session, Properties, String, Properties)
- Constructor for class org.tonjac.mini.
GenericRender
Create a Generic output render.
get(String)
- Method in class org.tonjac.mini.
Message
Get a value for a key, can be null if key is non existing
get()
- Method in class org.tonjac.mini.
Message
Get enumeration with all keys
getConnection()
- Method in interface org.tonjac.mini.
Session
Data connection
getCreationTime()
- Method in interface org.tonjac.mini.
Session
Creation time
getData()
- Method in class org.tonjac.mini.
RenderServiceReply
Data buffer
getData()
- Method in interface org.tonjac.mini.
Session
Access userdefined session object
getId()
- Method in class org.tonjac.mini.
Message
Message id
getId()
- Method in interface org.tonjac.mini.
Session
Session id
getLastErrorCode()
- Method in interface org.tonjac.mini.
Session
Last error code
getLastErrorMessage()
- Method in interface org.tonjac.mini.
Session
Last error message
getLocked()
- Method in interface org.tonjac.mini.
Session
Is session locked
getName()
- Method in interface org.tonjac.mini.
User
User name
getQueue()
- Method in class org.tonjac.mini.
Message
Queue name
getRemoteIP()
- Method in interface org.tonjac.mini.
Session
IP-adress of the logged on remote machine
getReturnCode()
- Method in class org.tonjac.mini.
RenderServiceReply
Return code (0=Commit, 1=Rollback)
getRole()
- Method in interface org.tonjac.mini.
User
User role 0-9
getText()
- Method in class org.tonjac.sms.
SMS
Text
getTime()
- Method in class org.tonjac.mini.
Message
Creation time in seconds since 1970
getTo()
- Method in class org.tonjac.sms.
SMS
Receiving phonenumber with prefix, example +46706123456
getUser()
- Method in interface org.tonjac.mini.
Session
Logged on user
getUserCount()
- Method in interface org.tonjac.mini.
Session
Number of concurrent users
L
LogException
- Exception in
org.tonjac.util
Exception that logs the error message
LogException(String)
- Constructor for exception org.tonjac.util.
LogException
Create an exception that logs at the severe level
LogException(Throwable)
- Constructor for exception org.tonjac.util.
LogException
Create an exception that logs at the severe level
LogException(String, Level)
- Constructor for exception org.tonjac.util.
LogException
Create an exception that logs
LogException(Throwable, Level)
- Constructor for exception org.tonjac.util.
LogException
Create an exception that logs
M
main(String[])
- Static method in class org.tonjac.mini.
Message
Message
- Class in
org.tonjac.mini
A message
Message()
- Constructor for class org.tonjac.mini.
Message
MessageListener
- Interface in
org.tonjac.mini
Interface for a message listener
N
names()
- Method in class org.tonjac.mini.
DataServiceReply
Used internally by Mini's native render engine
O
onMessage(Message)
- Method in interface org.tonjac.mini.
MessageListener
Called by mini when a message is received
onMessage(String, String[], String)
- Method in interface org.tonjac.sms.
SMSListener
Called by the SMS framework when a message with a specific command is recieved.
org.tonjac.mini
- package org.tonjac.mini
Webapplication API for the Mini application server.
org.tonjac.sms
- package org.tonjac.sms
SMS API.
org.tonjac.util
- package org.tonjac.util
Utility API.
OutputRender
- Class in
org.tonjac.mini
Base class for a render.
OutputRender(String, Session, Properties)
- Constructor for class org.tonjac.mini.
OutputRender
Create a output render
R
render()
- Method in class org.tonjac.mini.
OutputRender
Called by mini when rendering of a page should be done
RenderService
- Interface in
org.tonjac.mini
Interface that a Mini web application (CGI) service must implement.
RenderServiceReply
- Class in
org.tonjac.mini
Reply buffer for a mini webapp service
RenderServiceReply(String)
- Constructor for class org.tonjac.mini.
RenderServiceReply
Creates a service reply buffer of any type
S
send(String)
- Method in class org.tonjac.mini.
Message
Send message
send()
- Method in class org.tonjac.sms.
SMS
Sends the message
Session
- Interface in
org.tonjac.mini
A HTTP-session
setData(Object)
- Method in interface org.tonjac.mini.
Session
Set a userdefined object to be saved in the session
setId(String)
- Method in class org.tonjac.mini.
Message
Message id
setQueue(String)
- Method in class org.tonjac.mini.
Message
Queue name
setReturnCode(int)
- Method in class org.tonjac.mini.
RenderServiceReply
Set return code for a service reply. 0 = Tells Mini to commit and any other value tells Mini to Rollback transaction
setTime(long)
- Method in class org.tonjac.mini.
Message
Creation time
SMS
- Class in
org.tonjac.sms
A SMS message
SMS(String, String)
- Constructor for class org.tonjac.sms.
SMS
Create a SMS message
SMSListener
- Interface in
org.tonjac.sms
Interface that should be implemented in a SMS listener that executes a specific command.
T
toString()
- Method in class org.tonjac.mini.
Message
String representation of the message (excl. attributes)
toString()
- Method in class org.tonjac.util.
UUID
U
User
- Interface in
org.tonjac.mini
Logged on user
UUID
- Class in
org.tonjac.util
Globally unique ID
UUID(String)
- Constructor for class org.tonjac.util.
UUID
Create a globally unique id (UUID) with a prefix ppppppp.IP.UID.LLLLLLL Sample: 'MYPREFIX.10.9.8.1142A9835.EA10A2F09C.E7FFF.0000002'
UUID()
- Constructor for class org.tonjac.util.
UUID
Create a globally unique id (UUID) without a prefix IP.UID.LLLLLLL Sample: '10.9.8.1142A9835.EA10A2F09C.E7FFF.0000002'
V
values()
- Method in class org.tonjac.mini.
DataServiceReply
Used internally by Mini's native render engine
A
C
D
E
G
L
M
N
O
R
S
T
U
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes