using System;
using System.Threading.Tasks;
using Aurora.Backend.Executors;
using Aurora.Backend.Services;
using Aurora.Backend.Proto;
using Aurora.Backend.RemoteImpl;
namespace Aurora.Backend.Executors
{
public class HostExecutor : BaseExecutor
RemotePartyServiceImpl _remoteServiceImpl;
RemotePlaybackServiceImpl _remotePlaybackImpl;
public HostExecutor()
_remoteServiceImpl = new RemotePartyServiceImpl();
}
public override void Initialize()
//Register grpc RemoteService with singleton server service
ServerService.Instance.RegisterService(RemotePartyService.BindService(_remoteServiceImpl));
ServerService.Instance.RegisterService(RemotePlaybackService.BindService(_remotePlaybackImpl));
public override async void Close()
await ServerService.Instance.Stop();
public override void AddToQueue()
throw new NotImplementedException();
public override void GetMembers()
public override void GetQueue()
public override void RemoveFromQueue()
public override void Run()