3333 CheckTimerProvider ,
3434 DefaultFaultHandlerBase ,
3535 EntityType ,
36- IndicationCfg ,
37- LocalEntityCfg ,
38- RemoteEntityCfg ,
39- RemoteEntityCfgTable ,
36+ IndicationConfig ,
37+ LocalEntityConfig ,
38+ RemoteEntityConfig ,
39+ RemoteEntityConfigTable ,
4040)
4141from cfdppy .request import PutRequest
4242from cfdppy .user import (
@@ -67,7 +67,7 @@ class TransferParams:
6767_LOGGER = logging .getLogger ()
6868
6969
70- REMOTE_CFG_FOR_SOURCE_ENTITY = RemoteEntityCfg (
70+ REMOTE_CFG_FOR_SOURCE_ENTITY = RemoteEntityConfig (
7171 entity_id = SOURCE_ENTITY_ID ,
7272 max_packet_len = MAX_PACKET_LEN ,
7373 max_file_segment_len = FILE_SEGMENT_SIZE ,
@@ -235,14 +235,14 @@ def main() -> None:
235235 with open (SOURCE_FILE , "w" ) as file :
236236 file .write (FILE_CONTENT )
237237
238- remote_cfg_table = RemoteEntityCfgTable ()
238+ remote_cfg_table = RemoteEntityConfigTable ()
239239 remote_cfg_table .add_config (REMOTE_CFG_FOR_SOURCE_ENTITY )
240240 remote_cfg_table .add_config (REMOTE_CFG_FOR_DEST_ENTITY )
241241
242242 # Enable all indications.
243- src_indication_cfg = IndicationCfg ()
243+ src_indication_cfg = IndicationConfig ()
244244 src_fault_handler = CfdpFaultHandler ()
245- src_entity_cfg = LocalEntityCfg (SOURCE_ENTITY_ID , src_indication_cfg , src_fault_handler )
245+ src_entity_cfg = LocalEntityConfig (SOURCE_ENTITY_ID , src_indication_cfg , src_fault_handler )
246246 # 16 bit sequence count for transactions.
247247 src_seq_count_provider = SeqCountProvider (16 )
248248 src_user = CfdpUser ("SRC ENTITY" )
@@ -262,9 +262,9 @@ def main() -> None:
262262 )
263263
264264 # Enable all indications.
265- dest_indication_cfg = IndicationCfg ()
265+ dest_indication_cfg = IndicationConfig ()
266266 dest_fault_handler = CfdpFaultHandler ()
267- dest_entity_cfg = LocalEntityCfg (DEST_ENTITY_ID , dest_indication_cfg , dest_fault_handler )
267+ dest_entity_cfg = LocalEntityConfig (DEST_ENTITY_ID , dest_indication_cfg , dest_fault_handler )
268268 dest_user = CfdpUser ("DEST ENTITY" )
269269 dest_handler = DestHandler (
270270 cfg = dest_entity_cfg ,
0 commit comments