public class IbisMethods extends Object
Constructor and Description |
---|
IbisMethods(ClientConnection conn)
Create a new IbisMethods object.
|
Modifier and Type | Method and Description |
---|---|
long |
getLastTransactionId()
Get the ID of the last (most recent) transaction.
|
String |
getVersion()
Get the current API version number.
|
public IbisMethods(ClientConnection conn)
conn
- The ClientConnection object to use to invoke methods
on the server.public long getLastTransactionId() throws IbisException, IOException, JAXBException
A transaction represents an edit made to data in Lookup. Each transaction is assigned a unique, sequential, numeric ID. Thus this last transaction ID will increase each time some data in Lookup is changed.
[ HTTP: GET /api/v1/last-transaction ]
IbisException
IOException
JAXBException
public String getVersion() throws IbisException, IOException, JAXBException
[ HTTP: GET /api/v1/version ]
IbisException
IOException
JAXBException