Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -18,11 +18,11 @@ import com.google.common.collect.Sets; | ... | @@ -18,11 +18,11 @@ import com.google.common.collect.Sets; |
| 18 | /** | 18 | /** |
| 19 | * Provides IntefaceService using PortAddresses data from the HostService. | 19 | * Provides IntefaceService using PortAddresses data from the HostService. |
| 20 | */ | 20 | */ |
| 21 | -public class HostServiceBasedInterfaceService implements InterfaceService { | 21 | +public class HostToInterfaceAdaptor implements InterfaceService { |
| 22 | 22 | ||
| 23 | private final HostService hostService; | 23 | private final HostService hostService; |
| 24 | 24 | ||
| 25 | - public HostServiceBasedInterfaceService(HostService hostService) { | 25 | + public HostToInterfaceAdaptor(HostService hostService) { |
| 26 | this.hostService = checkNotNull(hostService); | 26 | this.hostService = checkNotNull(hostService); |
| 27 | } | 27 | } |
| 28 | 28 | ... | ... |
| ... | @@ -47,7 +47,7 @@ public class SdnIp implements SdnIpService { | ... | @@ -47,7 +47,7 @@ public class SdnIp implements SdnIpService { |
| 47 | config = new SdnIpConfigReader(); | 47 | config = new SdnIpConfigReader(); |
| 48 | config.init(); | 48 | config.init(); |
| 49 | 49 | ||
| 50 | - InterfaceService interfaceService = new HostServiceBasedInterfaceService(hostService); | 50 | + InterfaceService interfaceService = new HostToInterfaceAdaptor(hostService); |
| 51 | 51 | ||
| 52 | peerConnectivity = new PeerConnectivityManager(config, interfaceService, intentService); | 52 | peerConnectivity = new PeerConnectivityManager(config, interfaceService, intentService); |
| 53 | peerConnectivity.start(); | 53 | peerConnectivity.start(); | ... | ... |
-
Please register or login to post a comment