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

com.shapestone.session.SessionRepository Maven / Gradle / Ivy

The newest version!
package com.shapestone.session;

import rx.Observable;

import java.util.List;
import java.util.Optional;

/**
 * Name: Michael Williams
 * Date: 9/11/16.
 */
public interface SessionRepository {

  Observable addSession(Session session);

  Observable updateSession(Session session);

  Observable> readSessionById(String sessionId);

  Observable> readPartyActiveSessions(String partyId, long startTime);

  Observable> readActiveSessions(String sessionId, long startTime);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy