| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILuaObject
An interface for representing custom objects returned by IPeripheral.callMethod() calls. Return objects implementing this interface to expose objects with methods to lua.
| Method Summary | |
|---|---|
|  java.lang.Object[] | callMethod(ILuaContext context,
           int method,
           java.lang.Object[] arguments)Called when a user calls one of the methods that this object implements. | 
|  java.lang.String[] | getMethodNames()Get the names of the methods that this object implements. | 
| Method Detail | 
|---|
java.lang.String[] getMethodNames()
IPeripheral.getMethodNames()
java.lang.Object[] callMethod(ILuaContext context,
                              int method,
                              java.lang.Object[] arguments)
                              throws java.lang.Exception
java.lang.ExceptionIPeripheral.callMethod(IComputerAccess, ILuaContext, int, Object[])| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||