![JAR search and dependency download from the Maven repository](/logo.png)
host.anzo.simon.SequenceMonitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simon Show documentation
Show all versions of simon Show documentation
Simple Invocation of Methods Over Network, a kind of RMI replacement
The newest version!
/*
* Copyright (C) 2008 Alexander Christian . All rights reserved.
*
* This file is part of SIMON.
*
* SIMON is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SIMON is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SIMON. If not, see .
*/
package host.anzo.simon;
/**
* A simple monitor class whose instance can have a sequence id.
*
* @author achr
*/
public class SequenceMonitor extends Monitor {
/**
* the associated sequence id
*/
private final int sequenceId;
/**
* Creates a monitor object
*
* @param sequenceId the associated sequence id
*/
protected SequenceMonitor(int sequenceId) {
super();
this.sequenceId = sequenceId;
}
/**
* Returns the associated sequence id
*
* @return the id
*/
protected int getSequenceId() {
return sequenceId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy