com.github.tonivade.resp.command.IServerContext Maven / Gradle / Ivy
/*
* Copyright (c) 2015-2017, Antonio Gabriel Muñoz Conejo
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.resp.command;
import java.util.Optional;
public interface IServerContext {
int getPort();
int getClients();
ICommand getCommand(String name);
Optional getValue(String key);
void putValue(String key, Object value);
Optional removeValue(String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy