Uses of Class
io.agentscope.extensions.channel.dingtalk.DingTalkChannel

  • Uses of DingTalkChannel in io.agentscope.extensions.channel.dingtalk

    Modifier and Type
    Method
    Description
    DingTalkChannel.fromProperties(String channelId, io.agentscope.harness.agent.gateway.channel.ChannelConfig routing, Map<String,Object> rawProperties)
    Factory used by ChannelFactory.
    DingTalkChannel.fromProperties(String channelId, io.agentscope.harness.agent.gateway.channel.ChannelConfig routing, Map<String,Object> rawProperties, io.agentscope.extensions.channel.common.InboundEventDeduplicator idempotency)
    Factory variant that lets the application supply the InboundEventDeduplicator used to drop platform redeliveries — for example a shared-storage implementation so duplicates are recognized across instances.
    DingTalkChannel.fromProperties(String channelId, io.agentscope.harness.agent.gateway.channel.ChannelConfig routing, Map<String,Object> rawProperties, io.agentscope.extensions.channel.common.InboundEventDeduplicator idempotency, io.agentscope.extensions.channel.common.AccessTokenStore tokenStore)
    Factory variant that additionally lets the application supply the AccessTokenStore caching the outbound access token — for example a shared-storage implementation so one instance's refresh or invalidation serves the whole deployment.
    DingTalkChannelRegistry.get(String channelId)
    Returns the channel registered for channelId, or null if none.
    Modifier and Type
    Method
    Description
    void
    DingTalkChannelRegistry.register(DingTalkChannel channel)
    Registers a channel under its channel id.
    void
    DingTalkChannelRegistry.unregister(String channelId, DingTalkChannel expected)
    Removes the registration for channelId only when it currently maps to expected, so a stale instance shutting down cannot detach a successor's registration.