package br.com.centralit.websocket.jboss.websockets.frame;

import br.com.centralit.websocket.jboss.websockets.Frame;
import br.com.centralit.websocket.jboss.websockets.FrameType;

/**
 * @author Mike Brock
 */
public class AbstractFrame implements Frame {
  private final FrameType type;

  protected AbstractFrame(final FrameType type) {
    this.type = type;
  }

  @Override
public FrameType getType() {
    return type;
  }
}
