public class AgentAdapterChannels extends Object
AgentAdapter.Factory
.
Channels configuration string is a parenthesis-separated string of channel descriptors.
For example:
(opt&ticker@1s)(!opt&ticker@.1s)(stream[weight=7])(history)
defines four channels,
with stream having weight 7 of total weight 10 (default weight of each channel is 1).ChannelDescription
Constructor and Description |
---|
AgentAdapterChannels(ChannelDescription[] channels,
AgentAdapter.Factory factory) |
AgentAdapterChannels(ChannelDescription[] channels,
AgentAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
ChannelShaper[] |
getNewShapers() |
String |
toString() |
public AgentAdapterChannels(ChannelDescription[] channels, AgentAdapter adapter) throws com.devexperts.util.InvalidFormatException
com.devexperts.util.InvalidFormatException
public AgentAdapterChannels(ChannelDescription[] channels, AgentAdapter.Factory factory) throws com.devexperts.util.InvalidFormatException
com.devexperts.util.InvalidFormatException
public ChannelShaper[] getNewShapers()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.