Skip navigation links
A B C D E G H I J L M O P R S 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
 

B

buildListeners() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Returns collection of listeners (not started, but instantiated).
buildListeners() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Returns 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

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.
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.
createClient(Class<Type>, Connector) - Method in class pl.chilldev.commons.jsonrpc.client.introspector.Introspector
Builds client wrapper that handles all of the JSON-RPC calls.
createDispatcher(Class<ContextType>) - Method in class pl.chilldev.commons.jsonrpc.rpc.introspector.Introspector
Creates dispatcher for given facade type.

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_INTROSPECTOR - Static variable in class pl.chilldev.commons.jsonrpc.client.introspector.Introspector
Default introspector instance.
DEFAULT_INTROSPECTOR - Static variable in class pl.chilldev.commons.jsonrpc.rpc.introspector.Introspector
Default introspector instance.
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<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(Method, Object[]) - Method in class pl.chilldev.commons.jsonrpc.client.introspector.Introspector.Client
Executes the RPC call.
execute(JSONRPC2Request) - Method in class pl.chilldev.commons.jsonrpc.mina.RequestIoHandler
Generates response future.

G

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.
getParam(String, ParamsRetriever, boolean, String) - Method in interface pl.chilldev.commons.jsonrpc.rpc.introspector.ParameterProvider
Fetches parameter from given context.
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.
getVersion() - Method in interface pl.chilldev.commons.jsonrpc.client.VersionAware
Returns service version.

H

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.
Introspector - Class in pl.chilldev.commons.jsonrpc.client.introspector
Introspector for clients classes to automatically map method to JSON calls.
Introspector() - Constructor for class pl.chilldev.commons.jsonrpc.client.introspector.Introspector
 
Introspector - Class in pl.chilldev.commons.jsonrpc.rpc.introspector
Introspector for facade classes to automatically map method to JSON calls.
Introspector() - Constructor for class pl.chilldev.commons.jsonrpc.rpc.introspector.Introspector
 
Introspector.Client - Class in pl.chilldev.commons.jsonrpc.client.introspector
RPC calls wrapper.
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.

J

JsonRpcCall - Annotation Type in pl.chilldev.commons.jsonrpc.rpc.introspector
Annotation that marks method that should be mapped as JSON-RPC call.
JsonRpcParam - Annotation Type in pl.chilldev.commons.jsonrpc.rpc.introspector
Annotation that allows for defining JSON-RPC parameter metadata.

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.daemon.AbstractApplication
Logger.

M

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.

O

OBJECT_MAPPER - Static variable in class pl.chilldev.commons.jsonrpc.json.ParamsRetriever
Jackson data binder.
OFFLINE_VERSION - Static variable in interface pl.chilldev.commons.jsonrpc.client.VersionAware
Version placeholder to use when no server is available.

P

ParameterMapper<Type> - Interface in pl.chilldev.commons.jsonrpc.client.introspector
Parameter type mapper.
ParameterProvider<Type> - Interface in pl.chilldev.commons.jsonrpc.rpc.introspector
Parameter provider.
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.
pl.chilldev.commons.jsonrpc - package pl.chilldev.commons.jsonrpc
 
pl.chilldev.commons.jsonrpc.client - package pl.chilldev.commons.jsonrpc.client
 
pl.chilldev.commons.jsonrpc.client.introspector - package pl.chilldev.commons.jsonrpc.client.introspector
 
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
 
pl.chilldev.commons.jsonrpc.rpc.introspector - package pl.chilldev.commons.jsonrpc.rpc.introspector
 
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.
putParam(String, Type, Map<String, Object>) - Method in interface pl.chilldev.commons.jsonrpc.client.introspector.ParameterMapper
Populates call parameters with given value.

R

reconnect(ConnectFuture) - Method in class pl.chilldev.commons.jsonrpc.client.Connector
Enforces connection to server.
register(Method, Introspector.Call) - Method in class pl.chilldev.commons.jsonrpc.client.introspector.Introspector.Client
Registers method call handler.
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.
register(Class<? super ContextType>, Dispatcher<? extends ContextType>) - Method in class pl.chilldev.commons.jsonrpc.rpc.introspector.Introspector
Registers request handlers for methods of given class in provided dispatcher.
registerParameterMapper(Class<Type>, ParameterMapper<? super Type>) - Method in class pl.chilldev.commons.jsonrpc.client.introspector.Introspector
Registers parameter mapper for given class.
registerParameterProvider(Class<Type>, ParameterProvider<? extends Type>) - Method in class pl.chilldev.commons.jsonrpc.rpc.introspector.Introspector
Registers parameter resolver for given class.
registerResultHandler(Class<Type>, Function<Object, ? extends Type>) - Method in class pl.chilldev.commons.jsonrpc.client.introspector.Introspector
Registers response type handler for given class.
registerResultMapper(Class<Type>, Function<? super Type, Object>) - Method in class pl.chilldev.commons.jsonrpc.rpc.introspector.Introspector
Registers return type handler for given class.
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
 
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.

S

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.
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
 

V

version() - Method in interface pl.chilldev.commons.jsonrpc.client.VersionAware
Executed version request.
VersionAware - Interface in pl.chilldev.commons.jsonrpc.client
Mixin for version-aware service client.
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 G H I J L M O P R S V W 
Skip navigation links

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