package jist.swans.mac;

import jist.swans.misc.Message;

public class MacDumbMessageFactory {

  public MacMessage fromBytes(byte[] msg, int offset) throws Message.IllegalFormatException {
    // TODO Auto-generated method stub
    return null;
  }

  public Message getPayload(MacMessage msg) {
    return ((MacDumbMessage)msg).getPayload();
  }

  public MacDumbMessage createData(MacAddress src, MacAddress dst, Message body) {
    return new MacDumbMessage(src, dst, body);
  }

}
