Index
All Classes and Interfaces|All Packages
A
- addCommand(ICommand) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds a ICommand command to this command set.
- addCommands(List<ICommand>) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds multiple ICommand commands to this command set.
- addCommandSet(CommandSet) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds all of the commands and events from specified CommandSet command set into this one.
- addEvent(IEvent) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds an IEvent event to this command set.
- addEvents(List<IEvent>) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds multiple IEvent events to this command set.
- addInterceptor(ICommandInterceptor) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds a ICommandInterceptor command interceptor to this command set.
- addListener(IEventListener) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Adds a IEventListener listener to receive notifications on fired events.
- addListener(IEventListener) - Method in class org.pipservices4.rpc.commands.Event
-
Adds a listener to receive notifications when this event is fired.
- addListener(IEventListener) - Method in interface org.pipservices4.rpc.commands.IEvent
-
Adds a listener to receive notifications for this event.
C
- close(IContext) - Method in class org.pipservices4.rpc.clients.DirectClient
-
Closes component and frees used resources.
- Command - Class in org.pipservices4.rpc.commands
-
Concrete implementation of
ICommandinterface. - Command(String, Schema, IExecutable) - Constructor for class org.pipservices4.rpc.commands.Command
-
Creates a new command object and assigns it's parameters.
- CommandSet - Class in org.pipservices4.rpc.commands
-
Contains a set of commands and events supported by a
ICommandablecommandable object. - CommandSet() - Constructor for class org.pipservices4.rpc.commands.CommandSet
-
Creates an empty CommandSet object.
- configure(ConfigParams) - Method in class org.pipservices4.rpc.clients.DirectClient
-
Configures component by passing configuration parameters.
D
- DirectClient<T> - Class in org.pipservices4.rpc.clients
-
Abstract client that calls service directly in the same memory space.
- DirectClient() - Constructor for class org.pipservices4.rpc.clients.DirectClient
-
Creates a new instance of the client.
E
- endFailure(Exception) - Method in class org.pipservices4.rpc.trace.InstrumentTiming
- endSuccess() - Method in class org.pipservices4.rpc.trace.InstrumentTiming
- endTiming() - Method in class org.pipservices4.rpc.trace.InstrumentTiming
- endTiming(Exception) - Method in class org.pipservices4.rpc.trace.InstrumentTiming
- Event - Class in org.pipservices4.rpc.commands
-
Concrete implementation of
IEventinterface. - Event(String) - Constructor for class org.pipservices4.rpc.commands.Event
-
Creates a new event and assigns its name.
- execute(IContext, String, Parameters) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Executes a ICommand command specified by its name.
- execute(IContext, Parameters) - Method in class org.pipservices4.rpc.commands.Command
-
Executes the command.
- execute(IContext, Parameters) - Method in class org.pipservices4.rpc.commands.InterceptedCommand
-
Executes the next command in the execution chain using the given Parameters parameters (arguments).
- execute(IContext, ICommand, Parameters) - Method in interface org.pipservices4.rpc.commands.ICommandInterceptor
-
Executes the wrapped command with specified arguments.
F
- findCommand(String) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Searches for a command by its name.
- findEvent(String) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Searches for an event by its name in this command set.
G
- getCommands() - Method in class org.pipservices4.rpc.commands.CommandSet
-
Gets all commands registered in this command set.
- getCommandSet() - Method in interface org.pipservices4.rpc.commands.ICommandable
-
Gets a command set with all supported commands and events.
- getEvents() - Method in class org.pipservices4.rpc.commands.CommandSet
-
Gets all events registered in this command set.
- getListeners() - Method in class org.pipservices4.rpc.commands.Event
-
Gets all listeners registered in this event.
- getListeners() - Method in interface org.pipservices4.rpc.commands.IEvent
-
Gets all subscribed listeners.
- getName() - Method in class org.pipservices4.rpc.commands.Command
-
Gets the command name.
- getName() - Method in class org.pipservices4.rpc.commands.Event
-
Gets the name of the event.
- getName() - Method in interface org.pipservices4.rpc.commands.ICommand
-
Gets the command name.
- getName() - Method in interface org.pipservices4.rpc.commands.IEvent
-
Gets the event name.
- getName() - Method in class org.pipservices4.rpc.commands.InterceptedCommand
-
Gets the command name.
- getName(ICommand) - Method in interface org.pipservices4.rpc.commands.ICommandInterceptor
-
Gets the name of the wrapped command.
I
- ICommand - Interface in org.pipservices4.rpc.commands
-
An interface for Commands, which are part of the Command design pattern.
- ICommandable - Interface in org.pipservices4.rpc.commands
-
An interface for commandable objects, which are part of the command design pattern.
- ICommandInterceptor - Interface in org.pipservices4.rpc.commands
-
An interface for stackable command interceptors, which can extend and modify the command call chain.
- IEvent - Interface in org.pipservices4.rpc.commands
-
An interface for Events, which are part of the Command design pattern.
- IEventListener - Interface in org.pipservices4.rpc.commands
-
An interface for listener objects that receive notifications on fired events.
- instrument(IContext, String) - Method in class org.pipservices4.rpc.clients.DirectClient
-
Adds instrumentation to log calls and measure call time.
- InstrumentTiming - Class in org.pipservices4.rpc.trace
- InstrumentTiming(IContext, String, String, ILogger, ICounters, CounterTiming, TraceTiming) - Constructor for class org.pipservices4.rpc.trace.InstrumentTiming
- InterceptedCommand - Class in org.pipservices4.rpc.commands
-
Implements a
ICommandcommand wrapped by an interceptor. - InterceptedCommand(ICommandInterceptor, ICommand) - Constructor for class org.pipservices4.rpc.commands.InterceptedCommand
-
Creates a new InterceptedCommand, which serves as a link in an execution chain.
- isOpen() - Method in class org.pipservices4.rpc.clients.DirectClient
-
Checks if the component is opened.
N
- notify(IContext, String, Parameters) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Fires event specified by its name and notifies all registered IEventListener listeners
- notify(IContext, Parameters) - Method in class org.pipservices4.rpc.commands.Event
-
Fires this event and notifies all registered listeners.
O
- onEvent(IContext, IEvent, Parameters) - Method in interface org.pipservices4.rpc.commands.IEventListener
-
A method called when events this listener is subscrubed to are fired.
- open(IContext) - Method in class org.pipservices4.rpc.clients.DirectClient
-
Opens the component.
- org.pipservices4.rpc.clients - package org.pipservices4.rpc.clients
- org.pipservices4.rpc.commands - package org.pipservices4.rpc.commands
- org.pipservices4.rpc.trace - package org.pipservices4.rpc.trace
R
- removeListener(IEventListener) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Removes previosly added IEventListener listener.
- removeListener(IEventListener) - Method in class org.pipservices4.rpc.commands.Event
-
Removes a listener, so that it no longer receives notifications for this event.
- removeListener(IEventListener) - Method in interface org.pipservices4.rpc.commands.IEvent
-
Removes a listener, so that it no longer receives notifications for this event.
S
- setReferences(IReferences) - Method in class org.pipservices4.rpc.clients.DirectClient
-
Sets references to dependent components.
V
- validate(String, Parameters) - Method in class org.pipservices4.rpc.commands.CommandSet
-
Validates Parameters args for command specified by its name using defined schema.
- validate(Parameters) - Method in class org.pipservices4.rpc.commands.Command
-
Validates the command Parameters args before execution using the defined schema.
- validate(Parameters) - Method in interface org.pipservices4.rpc.commands.ICommand
-
Validates command arguments before execution using defined schema.
- validate(Parameters) - Method in class org.pipservices4.rpc.commands.InterceptedCommand
-
Validates the Parameters args that are to be passed to the command that is next in the execution chain.
- validate(ICommand, Parameters) - Method in interface org.pipservices4.rpc.commands.ICommandInterceptor
-
Validates arguments of the wrapped command before its execution.
_
- _counters - Variable in class org.pipservices4.rpc.clients.DirectClient
-
The performance counters
- _dependencyResolver - Variable in class org.pipservices4.rpc.clients.DirectClient
-
The dependency resolver to get service reference.
- _logger - Variable in class org.pipservices4.rpc.clients.DirectClient
-
The logger.
- _opened - Variable in class org.pipservices4.rpc.clients.DirectClient
-
The open flag.
- _service - Variable in class org.pipservices4.rpc.clients.DirectClient
-
The service reference.
- _tracer - Variable in class org.pipservices4.rpc.clients.DirectClient
-
The tracer.
All Classes and Interfaces|All Packages