1 | import { Tunnel } from "../tunnel/tunnel";
|
2 | import { Job } from "../job/job";
|
3 | import { Environment } from "../environment/environment";
|
4 | /**
|
5 | * A nest is a resource that holds or produces jobs.
|
6 | */
|
7 | export declare abstract class Nest {
|
8 | protected id: string;
|
9 | protected name: string;
|
10 | protected tunnel: Tunnel;
|
11 | protected e: Environment;
|
12 | constructor(e: Environment, name: string);
|
13 | getId(): string;
|
14 | toString(): string;
|
15 | getName(): string;
|
16 | getTunnel(): Tunnel;
|
17 | register(tunnel: Tunnel): void;
|
18 | arrive(job: Job): void;
|
19 | }
|