Remote playback almost working
This commit is contained in:
@ -6,7 +6,6 @@ using Grpc.Core;
|
||||
using Aurora.RemoteImpl;
|
||||
using Aurora.Proto.Events;
|
||||
using Aurora.Proto.Party;
|
||||
using Aurora.Proto.Playback;
|
||||
|
||||
|
||||
namespace Aurora.Services
|
||||
@ -19,7 +18,6 @@ namespace Aurora.Services
|
||||
|
||||
//Implementation class declarations
|
||||
RemotePartyServiceImpl _remotePartyServiceImpl;
|
||||
RemotePlaybackServiceImpl _remotePlaybackImpl;
|
||||
RemoteEventServiceImpl _remoteEventImpl;
|
||||
|
||||
/// <summary>
|
||||
@ -58,7 +56,6 @@ namespace Aurora.Services
|
||||
{
|
||||
return (_remoteEventImpl != null &&
|
||||
_remotePartyServiceImpl != null &&
|
||||
_remotePlaybackImpl != null &&
|
||||
_server != null);
|
||||
}
|
||||
}
|
||||
@ -78,12 +75,10 @@ namespace Aurora.Services
|
||||
{
|
||||
//Construct implementations
|
||||
_remotePartyServiceImpl = new RemotePartyServiceImpl();
|
||||
_remotePlaybackImpl = new RemotePlaybackServiceImpl();
|
||||
_remoteEventImpl = new RemoteEventServiceImpl();
|
||||
|
||||
// Register grpc RemoteService with singleton server service
|
||||
RegisterService(RemotePartyService.BindService(_remotePartyServiceImpl));
|
||||
RegisterService(RemotePlaybackService.BindService(_remotePlaybackImpl));
|
||||
RegisterService(RemoteEventService.BindService(_remoteEventImpl));
|
||||
}
|
||||
_server.Start();
|
||||
|
Reference in New Issue
Block a user