aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/Command.java
blob: 3d974bbab0cd6e2215af6bfd3acb5b7ad844416f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.juick.command;

import com.juick.User;
import com.juick.server.protocol.ProtocolListener;

import java.util.regex.Pattern;

/**
 * @author ma1uta
 */
public interface Command {

    Pattern pattern();

    String execute(User sender, ProtocolListener protocolListener, String command);
}