Index

A C D E F G H I M O R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

aesKey() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the aesKey record component.
apiBase() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the apiBase record component.
appKey() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the appKey record component.
appSecret() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the appSecret record component.

C

channelId() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 
config() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 

D

decrypt(String) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkCallbackCrypto
Decrypts the encrypt body field and returns the inner JSON payload as a UTF-8 string.
DEFAULT_API_BASE - Static variable in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
 
DEFAULT_OAPI_BASE - Static variable in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
 
DEFAULT_STREAM_REGISTER_URL - Static variable in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
 
deliver(OutboundAddress, List<Msg>) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 
DingTalkAccessTokenProvider - Class in io.agentscope.extensions.channel.dingtalk
Fetches and caches a DingTalk OpenAPI accessToken for one appKey + appSecret pair.
DingTalkAccessTokenProvider(String, String, String) - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkAccessTokenProvider
 
DingTalkAccessTokenProvider(String, String, String, AccessTokenStore) - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkAccessTokenProvider
Constructor variant that lets the application choose where the token is cached — for example a shared-storage AccessTokenStore so one refresh or invalidation serves all instances.
DingTalkCallbackController - Class in io.agentscope.extensions.channel.dingtalk
Handles inbound bot message delivery (POST) for DingTalk channels running in http callback mode.
DingTalkCallbackController() - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkCallbackController
 
DingTalkCallbackCrypto - Class in io.agentscope.extensions.channel.dingtalk
Implements DingTalk's HTTP-callback request verification and optional body decryption for robot message reception.
DingTalkCallbackCrypto(String, String) - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkCallbackCrypto
 
DingTalkChannel - Class in io.agentscope.extensions.channel.dingtalk
DingTalk (钉钉) channel adapter.
DingTalkChannelProperties - Record Class in io.agentscope.extensions.channel.dingtalk
Configuration for a single DingTalk (钉钉) channel instance.
DingTalkChannelProperties(String, String, String, String, String, String) - Constructor for record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Deprecated.
use the canonical constructor (or DingTalkChannelProperties.from(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>)) so the reception mode is explicit
DingTalkChannelProperties(String, String, String, String, String, String, String, String) - Constructor for record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Creates an instance of a DingTalkChannelProperties record class.
DingTalkChannelRegistry - Class in io.agentscope.extensions.channel.dingtalk
Process-wide lookup table from channelId to DingTalkChannel instance.
DingTalkInboundMapper - Class in io.agentscope.extensions.channel.dingtalk
Parses a DingTalk bot-message payload (Stream topic /v1.0/im/bot/messages/get or the HTTP callback body of the same protocol) into an InboundMessage.
DingTalkInboundMapper(String, String) - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkInboundMapper
 
DingTalkOutboundClient - Class in io.agentscope.extensions.channel.dingtalk
DingTalk outbound HTTP client.
DingTalkOutboundClient(String, DingTalkAccessTokenProvider, String) - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkOutboundClient
 
DingTalkStreamClient - Class in io.agentscope.extensions.channel.dingtalk
DingTalk Stream client — opens a long-lived WebSocket to the DingTalk gateway, subscribes to the bot-messages topic, and dispatches inbound frames to a consumer.
DingTalkStreamClient(DingTalkChannelProperties, Consumer<JsonNode>) - Constructor for class io.agentscope.extensions.channel.dingtalk.DingTalkStreamClient
 
dispatch(InboundMessage) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 
dispatch(String, String, String, String) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkCallbackController
Inbound bot message.

E

equals(Object) - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Indicates whether some other object is "equal to" this one.
extractMsgId(JsonNode) - Static method in class io.agentscope.extensions.channel.dingtalk.DingTalkInboundMapper
Returns the msgId field if present, used by the idempotency store.

F

from(String, Map<String, Object>) - Static method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Reads a DingTalkChannelProperties out of an arbitrary properties map.
fromProperties(String, ChannelConfig, Map<String, Object>) - Static method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
Factory used by ChannelFactory.
fromProperties(String, ChannelConfig, Map<String, Object>, InboundEventDeduplicator) - Static method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
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.
fromProperties(String, ChannelConfig, Map<String, Object>, InboundEventDeduplicator, AccessTokenStore) - Static method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
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.

G

get(String) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannelRegistry
Returns the channel registered for channelId, or null if none.

H

hasAesKey() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkCallbackCrypto
Returns whether this channel is configured with an aesKey (encrypted callbacks).
hashCode() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns a hash code value for this object.

I

init(Gateway) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 
instance() - Static method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannelRegistry
Returns the process-wide singleton instance.
invalidate() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkAccessTokenProvider
Forces the next DingTalkAccessTokenProvider.token() call to refresh.
io.agentscope.extensions.channel.dingtalk - package io.agentscope.extensions.channel.dingtalk
 

M

map(JsonNode) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkInboundMapper
Builds an InboundMessage from a DingTalk bot-message JSON payload.
mode() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the mode record component.
MODE_HTTP - Static variable in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Reception mode value: bot messages arrive as signed HTTP callbacks.
MODE_STREAM - Static variable in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Reception mode value: bot messages arrive over a persistent Stream WebSocket.

O

oapiBase() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the oapiBase record component.

R

register(DingTalkChannel) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannelRegistry
Registers a channel under its channel id.
robotCode() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the robotCode record component.

S

send(OutboundAddress, List<Msg>) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkOutboundClient
Sends each msg to the resolved peer (address format "channelId:kind:peerId").
start() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 
start() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkStreamClient
Starts the stream connection.
stop() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
 
stop() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkStreamClient
Stops the stream connection and releases resources.
streamRegisterUrl() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns the value of the streamRegisterUrl record component.

T

token() - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkAccessTokenProvider
Returns a valid access token, refreshing in-band when the cached one is missing or close to expiring.
toString() - Method in record class io.agentscope.extensions.channel.dingtalk.DingTalkChannelProperties
Returns a string representation of this record class.
TYPE - Static variable in class io.agentscope.extensions.channel.dingtalk.DingTalkChannel
type value used in agentscope.json and ChannelFactory.

U

unregister(String, DingTalkChannel) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkChannelRegistry
Removes the registration for channelId only when it currently maps to expected, so a stale instance shutting down cannot detach a successor's registration.

V

verify(String, String) - Method in class io.agentscope.extensions.channel.dingtalk.DingTalkCallbackCrypto
Verifies the timestamp/sign request headers of a callback: the timestamp must be a millisecond epoch no older than DingTalkCallbackCrypto.MAX_TIMESTAMP_AGE_MS and no further ahead of local time than DingTalkCallbackCrypto.MAX_FUTURE_TIMESTAMP_MS, and sign must equal Base64(HmacSHA256(appSecret, timestamp + "\n" + appSecret)).
A C D E F G H I M O R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values