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