FluorophoreStateTransition

public class FluorophoreStateTransition implements Message

A message containing information about a fluorophore state transition.

Author:Kyle M. Douglass

Fields

CURRENT_STATE

public final int CURRENT_STATE

ID

public final int ID

NEXT_STATE

public final int NEXT_STATE

TIME_ELAPSED

public final double TIME_ELAPSED

TYPE

public final MessageType TYPE

Constructors

FluorophoreStateTransition

public FluorophoreStateTransition(int id, double timeElapsed, int currentState, int nextState)

Methods

getType

public MessageType getType()

An identifier that indicates where this message originated from.

Returns:The message type.

toJson

public JsonElement toJson()

Returns the the message as a JSON string.

Returns:The properties of the fluorophore as a JSON string.