public class ANQPFactory extends Object
Constructor and Description |
---|
ANQPFactory() |
Modifier and Type | Method and Description |
---|---|
static ANQPElement |
buildElement(ByteBuffer payload,
Constants.ANQPElementType infoID,
int length) |
static ByteBuffer |
buildHomeRealmRequest(List<String> realmNames,
ByteBuffer target) |
static ANQPElement |
buildHS20Element(Constants.ANQPElementType infoID,
ByteBuffer payload) |
static ByteBuffer |
buildIconRequest(String fileName,
ByteBuffer target) |
static List<Constants.ANQPElementType> |
buildQueryList(NetworkDetail networkDetail,
boolean matchSet,
boolean osu) |
static ByteBuffer |
buildQueryRequest(Set<Constants.ANQPElementType> elements,
ByteBuffer target) |
static List<Constants.ANQPElementType> |
getBaseANQPSet(boolean includeRC) |
static List<Constants.ANQPElementType> |
getHS20ANQPSet(boolean includeOSU) |
static List<ANQPElement> |
parsePayload(ByteBuffer payload) |
public static List<Constants.ANQPElementType> getBaseANQPSet(boolean includeRC)
public static List<Constants.ANQPElementType> getHS20ANQPSet(boolean includeOSU)
public static List<Constants.ANQPElementType> buildQueryList(NetworkDetail networkDetail, boolean matchSet, boolean osu)
public static ByteBuffer buildQueryRequest(Set<Constants.ANQPElementType> elements, ByteBuffer target)
public static ByteBuffer buildHomeRealmRequest(List<String> realmNames, ByteBuffer target)
public static ByteBuffer buildIconRequest(String fileName, ByteBuffer target)
public static List<ANQPElement> parsePayload(ByteBuffer payload) throws ProtocolException
ProtocolException
public static ANQPElement buildElement(ByteBuffer payload, Constants.ANQPElementType infoID, int length) throws ProtocolException
ProtocolException
public static ANQPElement buildHS20Element(Constants.ANQPElementType infoID, ByteBuffer payload) throws ProtocolException
ProtocolException