Skip to content

Commit 625e37b

Browse files
committed
base command class
1 parent a240262 commit 625e37b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
import { SocketStream } from "../../common/comms/SocketStream";
3+
4+
export abstract class Command {
5+
abstract writeToStream(stream: SocketStream);
6+
abstract parseResponse<T>(data: Object): T;
7+
}

0 commit comments

Comments
 (0)