summaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/wayfiresocket/Run.java
blob: 07e546b234ca0f3c0ca542ad3e02a953884184ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package moe.nea.wayfiresocket;

public record Run(String cmd) implements Request<Run.Response> {

	@Override
	public Class<Response> getResponseType() {
		return Response.class;
	}

	@Override
	public String getMethodName() {
		return "stipc/run";
	}

	public record Response(int pid) {}
}