public class Sender extends Object implements io.zeebe.util.actor.Actor
| Modifier and Type | Field and Description |
|---|---|
protected long |
keepAlivePeriod |
protected long |
lastKeepAlive |
protected SendFailureHandler |
sendFailureHandler |
| Constructor and Description |
|---|
Sender(ActorContext actorContext,
TransportContext context) |
| Modifier and Type | Method and Description |
|---|---|
int |
doWork() |
void |
registerChannel(TransportChannel c) |
void |
removeChannel(TransportChannel c) |
protected final long keepAlivePeriod
protected final SendFailureHandler sendFailureHandler
protected long lastKeepAlive
public Sender(ActorContext actorContext, TransportContext context)
public int doWork()
throws Exception
doWork in interface io.zeebe.util.actor.ActorExceptionpublic void removeChannel(TransportChannel c)
public void registerChannel(TransportChannel c)
Copyright © 2017–2018 camunda services GmbH. All rights reserved.