Skip navigation links
A B C D E F G I K N R S T V W 

A

async(Executor) - Method in class com.digitalpetri.netty.fsm.util.CompletionBuilders.CompletionBuilder
Turn this CompletionBuilders.CompletionBuilder into an AsyncCompletionBuilder.

B

build() - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 

C

cancel() - Method in interface com.digitalpetri.netty.fsm.Scheduler.Cancellable
Attempt to cancel a scheduled command.
ChannelActions - Interface in com.digitalpetri.netty.fsm
 
ChannelFsm - Class in com.digitalpetri.netty.fsm
 
ChannelFsmConfig - Interface in com.digitalpetri.netty.fsm
 
ChannelFsmConfigBuilder - Class in com.digitalpetri.netty.fsm
 
ChannelFsmConfigBuilder() - Constructor for class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
ChannelFsmFactory - Class in com.digitalpetri.netty.fsm
 
ChannelFsmFactory(ChannelFsmConfig) - Constructor for class com.digitalpetri.netty.fsm.ChannelFsmFactory
 
ChannelIdle() - Constructor for class com.digitalpetri.netty.fsm.Event.ChannelIdle
 
ChannelInactive() - Constructor for class com.digitalpetri.netty.fsm.Event.ChannelInactive
 
com.digitalpetri.netty.fsm - package com.digitalpetri.netty.fsm
 
com.digitalpetri.netty.fsm.util - package com.digitalpetri.netty.fsm.util
 
complete(CompletableFuture<T>) - Static method in class com.digitalpetri.netty.fsm.util.CompletionBuilders
Complete future with the result of the CompletableFuture that is provided to the returned CompletionBuilders.CompletionBuilder.
completeAsync(CompletableFuture<T>, Executor) - Static method in class com.digitalpetri.netty.fsm.util.CompletionBuilders
Complete future asynchronously with the result of the CompletableFuture that is provided to the returned CompletionBuilders.CompletionBuilder.
CompletionBuilders - Class in com.digitalpetri.netty.fsm.util
 
CompletionBuilders() - Constructor for class com.digitalpetri.netty.fsm.util.CompletionBuilders
 
CompletionBuilders.CompletionBuilder<T> - Class in com.digitalpetri.netty.fsm.util
 
connect(FsmContext<State, Event>) - Method in interface com.digitalpetri.netty.fsm.ChannelActions
Bootstrap a new Channel and return a CompletableFuture that completes successfully when the Channel is ready to use or completes exceptionally if the Channel could not be created or made ready to use for any reason.
connect() - Method in class com.digitalpetri.netty.fsm.ChannelFsm
Fire a Event.Connect event and return a CompletableFuture that completes successfully with the Channel if a successful connection is made, or already exists, and completes exceptionally otherwise.
Connect() - Constructor for class com.digitalpetri.netty.fsm.Event.Connect
 
ConnectFailure(Throwable) - Constructor for class com.digitalpetri.netty.fsm.Event.ConnectFailure
 
ConnectSuccess(Channel) - Constructor for class com.digitalpetri.netty.fsm.Event.ConnectSuccess
 

D

disconnect(FsmContext<State, Event>, Channel) - Method in interface com.digitalpetri.netty.fsm.ChannelActions
Perform any disconnect actions and then close channel, returning a CompletableFuture that completes successfully when the Channel has disconnected or completes exceptionally if the channel could not be disconnected for any reason.
disconnect() - Method in class com.digitalpetri.netty.fsm.ChannelFsm
Fire a Event.Disconnect event and return a CompletableFuture that completes successfully when the Channel has been closed.
Disconnect() - Constructor for class com.digitalpetri.netty.fsm.Event.Disconnect
 
DisconnectSuccess() - Constructor for class com.digitalpetri.netty.fsm.Event.DisconnectSuccess
 

E

Event - Interface in com.digitalpetri.netty.fsm
 
Event.ChannelIdle - Class in com.digitalpetri.netty.fsm
 
Event.ChannelInactive - Class in com.digitalpetri.netty.fsm
 
Event.Connect - Class in com.digitalpetri.netty.fsm
 
Event.ConnectFailure - Class in com.digitalpetri.netty.fsm
 
Event.ConnectSuccess - Class in com.digitalpetri.netty.fsm
 
Event.Disconnect - Class in com.digitalpetri.netty.fsm
 
Event.DisconnectSuccess - Class in com.digitalpetri.netty.fsm
 
Event.GetChannel - Class in com.digitalpetri.netty.fsm
 
Event.KeepAliveFailure - Class in com.digitalpetri.netty.fsm
 
Event.ReconnectDelayElapsed - Class in com.digitalpetri.netty.fsm
 

F

fromScheduledExecutor(ScheduledExecutorService) - Static method in interface com.digitalpetri.netty.fsm.Scheduler
Create a Scheduler from the provided ScheduledExecutorService.

G

getChannel() - Method in class com.digitalpetri.netty.fsm.ChannelFsm
Fire a Event.GetChannel event and return a CompletableFuture that completes successfully when the Channel is available and completes exceptionally if the FSM is not currently connected or the connection attempt failed.
GetChannel() - Constructor for class com.digitalpetri.netty.fsm.Event.GetChannel
 
getChannelActions() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the ChannelActions delegate.
getExecutor() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the Executor to use.
getLoggerName() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the logger name the FSM should use.
getLoggingContext() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the logging context Map a ChannelFsm instance will use.
getMaxIdleSeconds() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the maximum amount of time, in seconds, before a keep alive occurs on an idle channel.
getMaxReconnectDelaySeconds() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the maximum delay to occur between reconnect attempts.
getScheduler() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
Get the Scheduler to use.
getState() - Method in class com.digitalpetri.netty.fsm.ChannelFsm
Get the current State of the ChannelFsm.

I

isLazy() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
true if the ChannelFsm should be lazy, i.e.
isPersistent() - Method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
true if the ChannelFsm should be persistent in its initial connect attempt, i.e.

K

keepAlive(FsmContext<State, Event>, Channel) - Method in interface com.digitalpetri.netty.fsm.ChannelActions
Perform a keep-alive action because the Channel has been idle for longer than maxIdleSeconds.

N

newBuilder() - Static method in interface com.digitalpetri.netty.fsm.ChannelFsmConfig
newChannelFsm() - Method in class com.digitalpetri.netty.fsm.ChannelFsmFactory
Create a new ChannelFsm instance.
newChannelFsm(ChannelFsmConfig) - Static method in class com.digitalpetri.netty.fsm.ChannelFsmFactory
Create a new ChannelFsm instance from config.

R

ReconnectDelayElapsed() - Constructor for class com.digitalpetri.netty.fsm.Event.ReconnectDelayElapsed
 

S

schedule(Runnable, long, TimeUnit) - Method in interface com.digitalpetri.netty.fsm.Scheduler
Schedule a command to run after a delay.
Scheduler - Interface in com.digitalpetri.netty.fsm
 
Scheduler.Cancellable - Interface in com.digitalpetri.netty.fsm
 
setChannelActions(ChannelActions) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setExecutor(Executor) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setLazy(boolean) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setLoggerName(String) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setLoggingContext(Map<String, String>) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
Set the logging context Map a ChannelFsm instance will use.
setMaxIdleSeconds(int) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setMaxReconnectDelaySeconds(int) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setPersistent(boolean) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setScheduler(Scheduler) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
setScheduler(ScheduledExecutorService) - Method in class com.digitalpetri.netty.fsm.ChannelFsmConfigBuilder
 
State - Enum in com.digitalpetri.netty.fsm
 

T

toString() - Method in class com.digitalpetri.netty.fsm.Event.ChannelIdle
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.ChannelInactive
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.Connect
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.ConnectFailure
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.ConnectSuccess
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.Disconnect
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.DisconnectSuccess
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.GetChannel
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.KeepAliveFailure
 
toString() - Method in class com.digitalpetri.netty.fsm.Event.ReconnectDelayElapsed
 

V

valueOf(String) - Static method in enum com.digitalpetri.netty.fsm.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.digitalpetri.netty.fsm.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(CompletableFuture<T>) - Method in class com.digitalpetri.netty.fsm.util.CompletionBuilders.CompletionBuilder
Complete the contained to-be-completed CompletableFuture using the result of future.
A B C D E F G I K N R S T V W 
Skip navigation links