首页>代码>spring mvc+thymeleaf+Knockout.js整合开发最简单的聊天室实例>/spring-mvc-chat/src/main/java/org/springframework/samples/async/chat/ChatRepository.java
/*
 * Copyright 2002-2012 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.samples.async.chat;

import java.util.List;

public interface ChatRepository {

	List<String> getMessages(int messageIndex);

	void addMessage(String message);

}
最近下载更多
wangyoung  LV10 2021年3月5日
安泽源  LV7 2019年5月29日
Onlyli  LV14 2019年5月16日
daidin  LV11 2019年3月8日
小推推  LV19 2019年2月4日
lvtong  LV1 2019年1月16日
我叫大黄啊  LV1 2018年10月26日
1196319567  LV9 2018年9月1日
345311623  LV8 2018年7月26日
yangctz  LV24 2018年7月8日
最近浏览更多
夜起星河  LV8 2023年12月27日
buhuia  LV4 2023年6月7日
ChenZheMeng  LV3 2022年12月21日
win1991  LV6 2022年8月18日
123456qiqiqi  LV1 2022年5月27日
fengshengtian  LV8 2022年4月19日
yuxinnan  LV4 2022年4月11日
唐家俊  LV2 2021年12月25日
494785  LV5 2021年12月15日
liuxiao2  LV16 2021年11月17日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友