generated from root/miduo_server
19 lines
435 B
Java
19 lines
435 B
Java
|
package com.jmfy.dao;
|
||
|
|
||
|
|
||
|
import com.jmfy.model.ServerInfo;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface ServerInfoDao {
|
||
|
List<ServerInfo> getAllServerInfo() throws Exception;
|
||
|
|
||
|
ServerInfo getServerinfo(int id) throws Exception;
|
||
|
|
||
|
void closeServerWhite(int server_id) throws Exception;
|
||
|
|
||
|
void openServerWhite(int server_id) throws Exception;
|
||
|
|
||
|
void updateServerInfo(int server_id, int status,int isWhite) throws Exception;
|
||
|
}
|