better printout
This commit is contained in:
parent
0e1d451651
commit
0faccfb456
10
common.py
10
common.py
@ -108,13 +108,13 @@ class ExampleCfdpFaultHandler(DefaultFaultHandlerBase):
|
|||||||
|
|
||||||
class ExampleCfdpUser(CfdpUserBase):
|
class ExampleCfdpUser(CfdpUserBase):
|
||||||
def transaction_indication(self, transaction_id: TransactionId):
|
def transaction_indication(self, transaction_id: TransactionId):
|
||||||
pass
|
LOGGER.info(f"CFDP User: Start of File {transaction_id}")
|
||||||
|
|
||||||
def eof_sent_indication(self, transaction_id: TransactionId):
|
def eof_sent_indication(self, transaction_id: TransactionId):
|
||||||
pass
|
LOGGER.info(f"CFDP User: EOF sent for {transaction_id}")
|
||||||
|
|
||||||
def transaction_finished_indication(self, params: TransactionFinishedParams):
|
def transaction_finished_indication(self, params: TransactionFinishedParams):
|
||||||
pass
|
LOGGER.info(f"CFDP User: {params.transaction_id} finished")
|
||||||
|
|
||||||
def metadata_recv_indication(self, params: MetadataRecvParams):
|
def metadata_recv_indication(self, params: MetadataRecvParams):
|
||||||
pass
|
pass
|
||||||
@ -424,7 +424,9 @@ class TcHandler(TcHandlerBase):
|
|||||||
):
|
):
|
||||||
put_req = cfdp_procedure.request_wrapper.to_put_request()
|
put_req = cfdp_procedure.request_wrapper.to_put_request()
|
||||||
put_req.cfg.destination_id = self.cfdp_dest_id
|
put_req.cfg.destination_id = self.cfdp_dest_id
|
||||||
LOGGER.info(f"CFDP: Starting file put request with parameters:\n{put_req}")
|
LOGGER.info(
|
||||||
|
f"CFDP: Starting file put request with parameters:\n{put_req}"
|
||||||
|
)
|
||||||
self.cfdp_in_ccsds_wrapper.handler.put_request(put_req)
|
self.cfdp_in_ccsds_wrapper.handler.put_request(put_req)
|
||||||
self.cfdp_handler_started = True
|
self.cfdp_handler_started = True
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user