-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify implementation for service discovery and improve genericity
Prior to this change, the implementation for service discovery should handle listed below.. 1. retrieve service information from service advertiser 2. convert it to service proxy that was too complicated to be applied widely used service discovery technology (like mdns ..) 1.separate service info converting functionality from the discovery 2.remove ad-hoc tick timer for service information retrival which is not well compatible to another service discovery implementation close #49, #48, #37, #39
- Loading branch information
Showing
6 changed files
with
154 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/com/doodream/rmovjs/sdp/ServiceDiscoveryListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package com.doodream.rmovjs.sdp; | ||
|
||
import com.doodream.rmovjs.net.RMIServiceProxy; | ||
import com.doodream.rmovjs.model.RMIServiceInfo; | ||
|
||
public interface ServiceDiscoveryListener { | ||
void onDiscovered(RMIServiceProxy proxy); | ||
void onDiscovered(RMIServiceInfo info); | ||
void onDiscoveryStarted(); | ||
void onDiscoveryFinished() throws IllegalAccessException; | ||
} |
Oops, something went wrong.