All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hison.api.caching.CachingHandler Maven / Gradle / Ivy

Go to download

API-Link is a novel solution for Spring projects, aimed at streamlining development by eliminating the need for individual controllers. It allows developers to use a single 'cmd' value to invoke service layer methods, simplifying workflow and boosting productivity.

The newest version!
package io.github.hison.api.caching;

import java.util.concurrent.CopyOnWriteArrayList;

import org.springframework.web.socket.WebSocketSession;

/** 
 * @author Hani son
 * @version 1.0.0
 */
public interface CachingHandler {
    public void addSession(CopyOnWriteArrayList sessions, WebSocketSession session);
    
    public void removeSession(CopyOnWriteArrayList sessions, WebSocketSession session);

    public void notifyAllSessions(CopyOnWriteArrayList sessions, String message);

    public String getEndPoint();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy