Commit 0472fa63 authored by nanahira's avatar nanahira

simplify

parent 2365b6b0
Pipeline #10147 passed with stages
in 1 minute and 5 seconds
......@@ -58,17 +58,15 @@ const AttackRoutine: AttackStep[] = [
];
export class Attacker {
address: string;
port: number;
timeout: number;
socket: dgram.Socket;
error: any;
currentWait: (msg: Buffer, rinfo: any) => void;
constructor(address: string, port: number, timeout: number) {
this.address = address;
this.port = port;
this.timeout = timeout;
constructor(
private address: string,
private port: number,
private timeout: number,
) {
this.currentWait = null;
this.error = null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment