com.bitmechanic.barrister.Interface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of barrister Show documentation
Show all versions of barrister Show documentation
Java bindings for Barrister RPC
package com.bitmechanic.barrister;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
/**
* Represents a IDL interface.
*/
public class Interface extends BaseEntity {
private List functions;
/**
* Creates an Interface based on the IDL Map representation
* Uses keys: 'name', 'comment', 'functions'
*
* Parses the Functions as well.
*/
public Interface(Map data) {
super(data);
functions = new ArrayList();
List