Skip navigation links
A B C D E F G H I L M O P R S T V W 

A

AbstractApplication - Class in pl.chilldev.commons.jsonrpc.daemon
Base daemon application class.
AbstractApplication() - Constructor for class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
 
AbstractIdentifiable<Type extends Serializable> - Class in pl.chilldev.commons.jsonrpc
Base class for transfer objects that can be identified by key.
AbstractIdentifiable() - Constructor for class pl.chilldev.commons.jsonrpc.AbstractIdentifiable
 
AbstractSpringApplication - Class in pl.chilldev.commons.jsonrpc.daemon
Base daemon implementation based on Spring context.
AbstractSpringApplication() - Constructor for class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
 
address - Variable in class pl.chilldev.commons.jsonrpc.client.Connector
Listening address.
address - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Listening address.

B

buildListeners() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Retruns collection of listeners (not started, but instantiated).
buildListeners() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Retruns collection of listeners (not started, but instantiated).
buildPage(Object, Pageable, Class<Type>, String, String) - Static method in class pl.chilldev.commons.jsonrpc.json.ConvertUtils
Builds paged response.
buildPage(Object, Pageable, Class<Type>) - Static method in class pl.chilldev.commons.jsonrpc.json.ConvertUtils
Builds paged response for the default parameters names (`{"records":[…],"count":X}`).

C

CHAIN_CODEC - Static variable in class pl.chilldev.commons.jsonrpc.mina.IoServiceUtils
Key for codec chains.
ChillDevApplication - Class in pl.chilldev.commons.jsonrpc.daemon
Basic implementation of application class used as a stub in Chillout Development projects.
ChillDevApplication() - Constructor for class pl.chilldev.commons.jsonrpc.daemon.ChillDevApplication
 
CODE_CONNECTION - Static variable in class pl.chilldev.commons.jsonrpc.rpc.ErrorCodes
Network connection error.
connect() - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Connects to server.
Connector - Class in pl.chilldev.commons.jsonrpc.client
Single TCP client.
Connector(NioSocketConnector, RequestIoHandler, InetSocketAddress) - Constructor for class pl.chilldev.commons.jsonrpc.client.Connector
Initializes connector with given configuration.
connector - Variable in class pl.chilldev.commons.jsonrpc.client.Connector
Connector itself.
context - Variable in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Application context environment.
context - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
API context.
context - Variable in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Execution context.
ContextInterface - Interface in pl.chilldev.commons.jsonrpc.daemon
Marker interface for service execution context.
ConvertUtils - Class in pl.chilldev.commons.jsonrpc.json
JSON data conversion utilities.
ConvertUtils() - Constructor for class pl.chilldev.commons.jsonrpc.json.ConvertUtils
 
create(InetSocketAddress) - Static method in class pl.chilldev.commons.jsonrpc.client.Connector
Creates connector instance with default resources.
create(String, int) - Static method in class pl.chilldev.commons.jsonrpc.client.Connector
Creates connector instance with default resources.

D

DateTimeWriter - Class in pl.chilldev.commons.jsonrpc.json.writer
Generic JSON dumper for types with plain string representation.
DateTimeWriter(DateTimeFormatter) - Constructor for class pl.chilldev.commons.jsonrpc.json.writer.DateTimeWriter
Initializes writer with given date-time formatter.
DEFAULT_PACKET_LIMIT - Static variable in class pl.chilldev.commons.jsonrpc.client.Connector
Default packet size limit.
DEFAULT_PACKET_LIMIT - Static variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Default packet size limit.
DEFAULTPARAM_COUNT - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Default result set size parameter name.
DEFAULTPARAM_LIMIT - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Default records limit parameter name.
DEFAULTPARAM_PAGE - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Default page number parameter name.
DEFAULTPARAM_RECORDS - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Default page records parameter name.
DEFAULTPARAM_SORT - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Default sort specification parameter name.
destroy() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Daemon resources freeing.
dispatch(JSONRPC2Request, ContextType) - Method in class pl.chilldev.commons.jsonrpc.rpc.Dispatcher
Handles request.
dispatcher - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
JSON-RPC dispatcher.
dispatcher - Variable in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
JSON-RPC dispatcher.
Dispatcher<ContextType extends ContextInterface> - Class in pl.chilldev.commons.jsonrpc.rpc
JSON-RPC request handling.
Dispatcher() - Constructor for class pl.chilldev.commons.jsonrpc.rpc.Dispatcher
 
Dispatcher.RequestHandler<ContextType extends ContextInterface> - Interface in pl.chilldev.commons.jsonrpc.rpc
JSON-RPC call.
DispatcherIoHandler<ContextType extends ContextInterface> - Class in pl.chilldev.commons.jsonrpc.mina
Single connection handler.
DispatcherIoHandler(ContextType, Dispatcher<? super ContextType>) - Constructor for class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Initializes JSON-RPC binding.
dispose() - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Releases all resources.
dump(LocalType, Converter<LocalType, TransferType>) - Static method in class pl.chilldev.commons.jsonrpc.json.ConvertUtils
Dumps entity into transfer POJO.

E

equals(Object) - Method in class pl.chilldev.commons.jsonrpc.AbstractIdentifiable
Checks object equality.
ERROR_CONNECTION - Static variable in class pl.chilldev.commons.jsonrpc.rpc.ErrorCodes
Connection error stub.
ErrorCodes - Class in pl.chilldev.commons.jsonrpc.rpc
Generic JSON-RPC error codes.
ErrorCodes() - Constructor for class pl.chilldev.commons.jsonrpc.rpc.ErrorCodes
 
exceptionCaught(IoSession, Throwable) - Method in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Handles thrown error.
exceptionCaught(IoSession, Throwable) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Handles thrown error.
execute(String) - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Executes remote call without parameters.
execute(String, Map<String, Object>) - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Executes remote call with parameters.
execute(JSONRPC2Request) - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Executes queued RPC call.
execute(JSONRPC2Request) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Generates response future.

F

formatter - Variable in class pl.chilldev.commons.jsonrpc.json.writer.DateTimeWriter
Assigned formatter.

G

generateRequestId() - Static method in class pl.chilldev.commons.jsonrpc.client.Connector
Generates new request ID.
getBean(Class<Type>) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Retrieves typed bean from current parameters.
getBean(String, Class<Type>, boolean) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Retrieves typed bean from sub-map located under specified entry.
getBean(String, Class<Type>) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Retrieves typed bean from sub-map located under specified entry.
getDaemonName() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Returns daemon application name.
getDaemonName() - Method in class pl.chilldev.commons.jsonrpc.daemon.ChillDevApplication
Returns daemon application name.
getDaemonVersion() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Returns daemon application version.
getDaemonVersion() - Method in class pl.chilldev.commons.jsonrpc.daemon.ChillDevApplication
Returns daemon application version.
getId() - Method in class pl.chilldev.commons.jsonrpc.AbstractIdentifiable
Returns record identifier.
getMaxPacketSize() - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Returns size of maximum JSON-RPC packet size.
getMaxPacketSize() - Method in class pl.chilldev.commons.jsonrpc.daemon.Listener
Returns size of maximum JSON-RPC packet size.
getMaxPacketSize() - Method in interface pl.chilldev.commons.jsonrpc.mina.IoServiceUtils.Configuration
Returns maximum packet size.
getOptUuid(String) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Returns UUID identifier from given optional parameter (not allowing null).
getOptUuid(String, boolean) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Returns UUID identifier from given optional parameter.
getPackageToScan() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Returns base package name for context scanning.
getPageable(String, String, String, int) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Builds sort ordering criteria list.
getPageable(int) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Builds paged request data from default parameters names.
getSort(String) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Builds sort ordering criteria list.
getUuid(String) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Returns UUID identifier from given parameter (not allowing null).
getUuid(String, boolean) - Method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Returns UUID identifier from given parameter.

H

handler - Variable in class pl.chilldev.commons.jsonrpc.client.Connector
JSON-RCP handler.
handlers - Variable in class pl.chilldev.commons.jsonrpc.rpc.Dispatcher
Registered RPC method handlers.
hashCode() - Method in class pl.chilldev.commons.jsonrpc.AbstractIdentifiable
Generates object ID.

I

init(DaemonContext) - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Daemon resources initialization.
initialize(IoService, IoHandler, IoServiceUtils.Configuration) - Static method in class pl.chilldev.commons.jsonrpc.mina.IoServiceUtils
Initializes I/O service for text protocols.
IoServiceUtils - Class in pl.chilldev.commons.jsonrpc.mina
Utility class for Mina I/O services.
IoServiceUtils() - Constructor for class pl.chilldev.commons.jsonrpc.mina.IoServiceUtils
 
IoServiceUtils.Configuration - Interface in pl.chilldev.commons.jsonrpc.mina
Interface for I/O services configuration.

L

Listener<ContextType extends ContextInterface> - Class in pl.chilldev.commons.jsonrpc.daemon
Single listener worker.
Listener(String, ContextType, Dispatcher<? super ContextType>) - Constructor for class pl.chilldev.commons.jsonrpc.daemon.Listener
Initializes listener thread.
logger - Variable in class pl.chilldev.commons.jsonrpc.client.Connector
Logger.
logger - Variable in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Logger.
logger - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Logger.
logger - Variable in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Logger.
logger - Variable in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Logger.

M

maxPacketSize - Variable in class pl.chilldev.commons.jsonrpc.client.Connector
Maximum size of JSON-RPC packet.
maxPacketSize - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Maximum size of JSON-RPC packet.
messageReceived(IoSession, Object) - Method in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Handles new message.
messageReceived(IoSession, Object) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Handles new message.
messageSent(IoSession, Object) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Handles outgoing message.
metadata - Variable in class pl.chilldev.commons.jsonrpc.rpc.handler.VersionHandler
Application package data.
method - Variable in class pl.chilldev.commons.jsonrpc.rpc.ReturningMethod.RequestHandler
RPC method handler.
method - Variable in class pl.chilldev.commons.jsonrpc.rpc.VoidMethod.RequestHandler
RPC method handler.

O

OBJECT_MAPPER - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Jackson data binder.

P

ParamsRetriever - Class in pl.chilldev.commons.jsonrpc.json
Enhanced version of parameters retriever.
ParamsRetriever(Map<String, Object>) - Constructor for class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Initializes retriever with given parameters set.
ParamsRetriever(JSONRPC2Request) - Constructor for class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Initializes retriever for given request.
parseUuid(String, String, boolean) - Static method in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Parses UUID string.
pl.chilldev.commons.jsonrpc - package pl.chilldev.commons.jsonrpc
 
pl.chilldev.commons.jsonrpc.client - package pl.chilldev.commons.jsonrpc.client
 
pl.chilldev.commons.jsonrpc.daemon - package pl.chilldev.commons.jsonrpc.daemon
 
pl.chilldev.commons.jsonrpc.json - package pl.chilldev.commons.jsonrpc.json
 
pl.chilldev.commons.jsonrpc.json.writer - package pl.chilldev.commons.jsonrpc.json.writer
 
pl.chilldev.commons.jsonrpc.mina - package pl.chilldev.commons.jsonrpc.mina
 
pl.chilldev.commons.jsonrpc.rpc - package pl.chilldev.commons.jsonrpc.rpc
 
pl.chilldev.commons.jsonrpc.rpc.handler - package pl.chilldev.commons.jsonrpc.rpc.handler
 
process(JSONRPC2Request, ContextType) - Method in interface pl.chilldev.commons.jsonrpc.rpc.Dispatcher.RequestHandler
Handles request.
process(JSONRPC2Request, ContextInterface) - Method in class pl.chilldev.commons.jsonrpc.rpc.handler.VersionHandler
Handles request.
process(JSONRPC2Request, ContextType) - Method in interface pl.chilldev.commons.jsonrpc.rpc.ReturningMethod
Handles method call.
process(JSONRPC2Request, ContextType) - Method in class pl.chilldev.commons.jsonrpc.rpc.ReturningMethod.RequestHandler
Handles request.
process(JSONRPC2Request, ContextType) - Method in interface pl.chilldev.commons.jsonrpc.rpc.VoidMethod
Handles method call.
process(JSONRPC2Request, ContextType) - Method in class pl.chilldev.commons.jsonrpc.rpc.VoidMethod.RequestHandler
Handles request.

R

reconnect(ConnectFuture) - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Enforces connection to server.
register(String, Dispatcher.RequestHandler<? super ContextType>) - Method in class pl.chilldev.commons.jsonrpc.rpc.Dispatcher
Registers RPC handler.
register(String, ReturningMethod<? super ContextType>) - Method in class pl.chilldev.commons.jsonrpc.rpc.Dispatcher
Registers result-returning method for RPC call.
register(String, VoidMethod<? super ContextType>) - Method in class pl.chilldev.commons.jsonrpc.rpc.Dispatcher
Registers no-result method for RPC call.
release() - Method in class pl.chilldev.commons.jsonrpc.daemon.Listener
Sets shutdown flag.
RequestHandler(ReturningMethod<? super ContextType>) - Constructor for class pl.chilldev.commons.jsonrpc.rpc.ReturningMethod.RequestHandler
Initializes method wrapper.
RequestHandler(VoidMethod<? super ContextType>) - Constructor for class pl.chilldev.commons.jsonrpc.rpc.VoidMethod.RequestHandler
Initializes method wrapper.
RequestIoHandler - Class in pl.chilldev.commons.jsonrpc.mina
JSON-RPC handler for TCP client session.
RequestIoHandler() - Constructor for class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
 
responses - Variable in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Received responses.
ReturningMethod<ContextType extends ContextInterface> - Interface in pl.chilldev.commons.jsonrpc.rpc
Result returning RPC method wrapper.
ReturningMethod.RequestHandler<ContextType extends ContextInterface> - Class in pl.chilldev.commons.jsonrpc.rpc
JSON-RPC call handler.
RpcCallException - Exception in pl.chilldev.commons.jsonrpc.client
RPC exception method fail details.
RpcCallException(Exception) - Constructor for exception pl.chilldev.commons.jsonrpc.client.RpcCallException
Initializes error data.
run() - Method in class pl.chilldev.commons.jsonrpc.daemon.Listener
Perform the thread loop.
running - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Thread running flag.

S

session - Variable in class pl.chilldev.commons.jsonrpc.client.Connector
Current connection session.
sessionClosed(IoSession) - Method in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Handles session closing.
sessionClosed(IoSession) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Handles session closing.
sessionIdle(IoSession, IdleStatus) - Method in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Handles idle connections.
sessionIdle(IoSession, IdleStatus) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Handles idle connections.
sessionOpened(IoSession) - Method in class pl.chilldev.commons.jsonrpc.mina.DispatcherIoHandler
Handles new session logging.
sessionOpened(IoSession) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Handles new session logging.
setAddress(InetSocketAddress) - Method in class pl.chilldev.commons.jsonrpc.daemon.Listener
Sets listening interface.
setMaxPacketSize(int) - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Sets max JSON-RPC packet size.
setMaxPacketSize(int) - Method in class pl.chilldev.commons.jsonrpc.daemon.Listener
Sets max JSON-RPC packet size.
setSleepTick(int) - Method in class pl.chilldev.commons.jsonrpc.daemon.Listener
Sets sleep interval.
signal() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Just re-loads configuration.
SLEEP_TICK - Static variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Sleep timeout.
sleepTick - Variable in class pl.chilldev.commons.jsonrpc.daemon.Listener
Execution interval.
SortWriter - Class in pl.chilldev.commons.jsonrpc.json.writer
Spring-Data Sort object serializer.
SortWriter() - Constructor for class pl.chilldev.commons.jsonrpc.json.writer.SortWriter
 
start() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Runs all listeners.
start() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Runs all listeners.
stop() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Stops listeners.
stop() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Stops listeners.
StringDumpingWriter - Class in pl.chilldev.commons.jsonrpc.json.writer
Generic JSON dumper for types with plain string representation.
StringDumpingWriter() - Constructor for class pl.chilldev.commons.jsonrpc.json.writer.StringDumpingWriter
 

T

threads - Variable in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
List of children threads.

V

VersionHandler - Class in pl.chilldev.commons.jsonrpc.rpc.handler
General JSON-RPC version() call.
VersionHandler() - Constructor for class pl.chilldev.commons.jsonrpc.rpc.handler.VersionHandler
Default version initialization.
VersionHandler(Package) - Constructor for class pl.chilldev.commons.jsonrpc.rpc.handler.VersionHandler
Initializes version handler with given package metadata.
VoidMethod<ContextType extends ContextInterface> - Interface in pl.chilldev.commons.jsonrpc.rpc
Non-result RPC method wrapper.
VoidMethod.RequestHandler<ContextType extends ContextInterface> - Class in pl.chilldev.commons.jsonrpc.rpc
JSON-RPC call handler.

W

writeJSONString(TemporalAccessor, Appendable, JSONStyle) - Method in class pl.chilldev.commons.jsonrpc.json.writer.DateTimeWriter
Dumps object as a string representation.
writeJSONString(Sort, Appendable, JSONStyle) - Method in class pl.chilldev.commons.jsonrpc.json.writer.SortWriter
Dumps object into JSON-serializable array and writes it as a JSON string.
writeJSONString(Object, Appendable, JSONStyle) - Method in class pl.chilldev.commons.jsonrpc.json.writer.StringDumpingWriter
Dumps object as a string representation.
A B C D E F G H I L M O P R S T V W 
Skip navigation links

Copyright © 2015 Rafał Wrzeszcz - Wrzasq.pl. All rights reserved.