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

com.github.tonivade.resp.protocol.AbstractRedisTokenVisitor Maven / Gradle / Ivy

Go to download

Netty implementation of REdis Serialization Protocol, and a simple framework to implement command based protocols

There is a newer version: 0.24.0
Show newest version
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