rename to smartpack n smartunpack

This commit is contained in:
2026-05-18 19:30:58 +07:00
parent cc95bc97d3
commit 396e0848da
21 changed files with 323 additions and 314 deletions

12
etc.txt
View File

@@ -1,7 +1,7 @@
#!/usr/bin/env julia
# Test script for mixed-content message testing
# Tests receiving a mix of text, json, table, image, audio, video, and binary data
# from Julia serviceA to Julia serviceB using msghandler.jl smartreceive
# from Julia serviceA to Julia serviceB using msghandler.jl smartunpack
#
# This test demonstrates that any combination and any number of mixed content
# can be sent and received correctly.
@@ -38,9 +38,9 @@ function test_mix_receive()
log_trace("Received message on $(msg.subject)")
incoming_msg = msg
# # Use msghandler.smartreceive to handle the data
# # API: smartreceive(msg, download_handler; max_retries, base_delay, max_delay)
# result = msghandler.smartreceive(
# # Use msghandler.smartunpack to handle the data
# # API: smartunpack(msg, download_handler; max_retries, base_delay, max_delay)
# result = msghandler.smartunpack(
# msg;
# max_retries = 5,
# base_delay = 100,
@@ -229,7 +229,7 @@ println("Note: This receiver will wait for messages from the sender.")
println("Run test_julia_to_julia_mix_sender.jl first to send test data.")
# Run receiver
println("\ntesting smartreceive for mixed content")
println("\ntesting smartunpack for mixed content")
incoming_msg = test_mix_receive()
println("\nTest completed.")
@@ -250,7 +250,7 @@ println("\nTest completed.")
Check architecture.md. For sending table I want to add JSON in addition to Apache Arrow.
Currently I use "table" datatype when sending table data using Arrow. Now table that I want to send using JSON
I will use "jsontable" as datatype while sending table using Arrow I will use "arrowtable" as datatype.
This will select how smartsend and smartreceive serialize/deserialize the table.
This will select how smartpack and smartunpack serialize/deserialize the table.
Can you help me do this? Save the updated architecture.md into updated_architecture.md file. I will deal with source code later.