Package | Description |
---|---|
com.devexperts.mars.common |
This package contains a MARS data model and public API.
|
com.devexperts.mars.common.net |
This package contains a MARS network layer with TCP/IP connector which uses standard Java sockets.
|
Modifier and Type | Method and Description |
---|---|
MARSEvent |
MARSEventFactory.createMARSEvent(String name,
String value) |
MARSEvent |
MARSEventFactory.createMARSEvent(String name,
String value,
long timestamp) |
MARSEvent |
MARS.getEvent(String name)
Returns last event that has changed specified parameter or null if not found.
|
Modifier and Type | Method and Description |
---|---|
Collection<MARSEvent> |
MARSAgent.retrieveEvents()
Retrieves all
MARSEvent events accumulated by this agent.You can use returned the collection as you want. |
Modifier and Type | Method and Description |
---|---|
void |
MARS.putEvent(MARSEvent event)
Puts new event to change corresponding parameter.
|
static String |
MARSEvent.toString(MARSEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
MARS.putEvents(Collection<MARSEvent> events)
Puts collection of events to change corresponding parameters.
|
void |
MARS.removeAuthenticEvents(Collection<MARSEvent> events)
Removes collection of authentic events as if they were never put before.
|
Modifier and Type | Method and Description |
---|---|
Collection<MARSEvent> |
MARSBuffer.readEvents()
Reads and removes all complete
MARSEvent events from the buffer. |
Modifier and Type | Method and Description |
---|---|
void |
MARSBuffer.writeEvents(Collection<MARSEvent> events)
Writes specified
MARSEvent events to the end of the buffer. |
Copyright © 2015 Devexperts. All Rights Reserved.