You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
667 B

import IpcClient from "./IpcClient";
import Application from "../../Application";
export default class SeekerIpcClient extends IpcClient
{
/**
* Create a new IPC client for the Seeker
*/
constructor(app: Application) {
super("Seeker IPC", app, "request", "seeker");
}
// Methods -------------------------------------------------------------------------------------
/**
* Notify Seeker that a movie was added
*/
public notifyMovieRequested(ticketId: number) {
this.request("search_movie", ticketId).catch((e) => {
this.log("No response from seeker notifying added movie");
});
}
}