public class BasicChannelShaperFactory extends Object implements ChannelShapersFactory
Modifier and Type | Field and Description |
---|---|
static ChannelDescription[] |
ALL_DATA |
static com.devexperts.util.TypedKey<ChannelDescription[]> |
CHANNEL_CONFIGURATION_KEY |
static com.devexperts.util.TypedKey<AgentAdapter.Factory> |
FACTORY_KEY |
static BasicChannelShaperFactory |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
ChannelShaper[] |
createChannelShapers(AgentAdapter agentAdapter,
com.devexperts.auth.AuthSession session)
Creates array of channel shapers.
|
public static final BasicChannelShaperFactory INSTANCE
public static final ChannelDescription[] ALL_DATA
public static final com.devexperts.util.TypedKey<ChannelDescription[]> CHANNEL_CONFIGURATION_KEY
public static final com.devexperts.util.TypedKey<AgentAdapter.Factory> FACTORY_KEY
public ChannelShaper[] createChannelShapers(AgentAdapter agentAdapter, com.devexperts.auth.AuthSession session)
ChannelShapersFactory
null
if the session does not contain the information that this factory is supposed to see there,
e.g. it was created by a non-compatible QDAuthRealm
.createChannelShapers
in interface ChannelShapersFactory
agentAdapter
- the agent adapter.session
- the auth session.Copyright © 2002–2025 Devexperts LLC. All rights reserved.