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

org.lantern.state.Friend Maven / Gradle / Ivy

Go to download

Lantern is a peer-to-peer and trust-network-based tool for circumventing censors and preventing monitoring.

There is a newer version: 0.1
Show newest version
package org.lantern.state;

/**
 * Common interface for friends.
 */
public interface Friend {

    public enum Status {
        friend,
        rejected,
        pending //everything else
    }

    Long getId();

    void setId(Long id);
    
    String getUserEmail();

    void setUserEmail(String userEmail);

    String getEmail();

    void setEmail(String email);

    String getName();

    void setName(String name);
    
    Status getStatus();

    void setStatus(Status status);
    
    void setLastUpdated(long lastUpdated);
    
    long getLastUpdated();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy