Skip to content

Commit

Permalink
Addressing cliffamzn@'s feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadb-amazon committed Dec 12, 2022
1 parent 796f3e2 commit 1b8dcc1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
@param clientQueue Queue to dispatch the call to the discoveredCommissionerHandler on
@param discoveredCommissionerHandler Handler to call after a discovered commissioner has been retrieved
@param discoveredCommissionerHandler Handler called synchronously after a discovered commissioner has been retrieved
*/
- (void)getDiscoveredCommissioner:(int)index
clientQueue:(dispatch_queue_t _Nonnull)clientQueue
Expand Down Expand Up @@ -185,9 +185,9 @@
- (void)disconnect:(dispatch_queue_t _Nonnull)clientQueue requestSentHandler:(nullable void (^)())requestSentHandler;

/**
@brief Initialize the Matter server and reconnect to a previously connected Video Player (if any)
@brief Start the Matter server and reconnect to a previously connected Video Player (if any)
*/
- (void)initMatterServer;
- (void)startMatterServer;

/**
@brief Stop the Matter server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,9 @@ - (void)shutdownAllSubscriptions:(dispatch_queue_t _Nonnull)clientQueue requestS
});
}

- (void)initMatterServer
- (void)startMatterServer
{
ChipLogProgress(AppServer, "CastingServerBridge().initMatterServer() called");
ChipLogProgress(AppServer, "CastingServerBridge().startMatterServer() called");

dispatch_sync(_chipWorkQueue, ^{
// Initialize the Matter server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct TvCastingApp: App {
{
if let castingServerBridge = CastingServerBridge.getSharedInstance()
{
castingServerBridge.initMatterServer()
castingServerBridge.startMatterServer()
}
}
firstAppActivation = false
Expand Down

0 comments on commit 1b8dcc1

Please sign in to comment.