Skip navigation links
A B C D E G H I L M 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
 
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).

C

CHAIN_CODEC - Static variable in class pl.chilldev.commons.jsonrpc.mina.IoServiceUtils
Key for codec chains.
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.
create(InetSocketAddress) - Static method in class pl.chilldev.commons.jsonrpc.client.Connector
Creates connector instance with default resources.

D

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

E

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.

G

generateRequestId() - Static method in class pl.chilldev.commons.jsonrpc.client.Connector
Generates new request ID.
getDaemonName() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Returns daemon application name.
getDaemonVersion() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractApplication
Returns daemon application version.
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.
getPackageToScan() - Method in class pl.chilldev.commons.jsonrpc.daemon.AbstractSpringApplication
Returns base package name for context scanning.

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.

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

P

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.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
 
process(JSONRPC2Request, ContextType) - Method in interface pl.chilldev.commons.jsonrpc.rpc.Dispatcher.RequestHandler
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.
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.
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

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(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 L M P R S T V W 
Skip navigation links

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