
com.github.tonivade.resp.protocol.AbstractRedisTokenVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resp-server Show documentation
Show all versions of resp-server Show documentation
Netty implementation of REdis Serialization Protocol, and a simple framework to implement command based protocols
package com.github.tonivade.resp.protocol;
import com.github.tonivade.resp.protocol.AbstractRedisToken.ArrayRedisToken;
import com.github.tonivade.resp.protocol.AbstractRedisToken.ErrorRedisToken;
import com.github.tonivade.resp.protocol.AbstractRedisToken.IntegerRedisToken;
import com.github.tonivade.resp.protocol.AbstractRedisToken.StatusRedisToken;
import com.github.tonivade.resp.protocol.AbstractRedisToken.StringRedisToken;
import com.github.tonivade.resp.protocol.AbstractRedisToken.UnknownRedisToken;
public abstract class AbstractRedisTokenVisitor implements RedisTokenVisitor {
@Override
public T array(ArrayRedisToken token) {
return null;
}
@Override
public T status(StatusRedisToken token) {
return null;
}
@Override
public T string(StringRedisToken token) {
return null;
}
@Override
public T error(ErrorRedisToken token) {
return null;
}
@Override
public T unknown(UnknownRedisToken token) {
return null;
}
@Override
public T integer(IntegerRedisToken token) {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy