toad-java/src/main/java/dev.toad/msg/build/MessageNeeds.java
2023-04-16 20:01:54 -05:00

19 lines
347 B
Java

package dev.toad.msg.build;
import java.net.InetSocketAddress;
public final class MessageNeeds {
public interface Destination {
MessageNeeds.Type addr(InetSocketAddress addr);
}
public interface Type {
MessageNeeds.Code type(dev.toad.msg.Type type);
}
public interface Code {
Message code(dev.toad.msg.Code code);
}
}