2018-05-31 12:04:52 +00:00
|
|
|
import { Subject } from 'rxjs';
|
|
|
|
|
|
|
|
import {
|
|
|
|
Zone,
|
|
|
|
Host,
|
|
|
|
Port,
|
|
|
|
Service,
|
|
|
|
} from '@overflow/commons-typescript/model/discovery';
|
|
|
|
|
|
|
|
export interface DiscoveryNotify {
|
|
|
|
method: string;
|
|
|
|
params: Date | Zone | Host | Port | Service;
|
|
|
|
}
|
|
|
|
|
2018-05-31 12:44:11 +00:00
|
|
|
export class DiscoverySubscriberSubject extends Subject<DiscoveryNotify> {
|
2018-05-31 12:04:52 +00:00
|
|
|
|
|
|
|
}
|