public class S0F0 extends SecsMsg
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
int |
function
The function of this message (default is zero).
|
int |
stream
The stream of this message (default is zero).
|
allowBrokenMessages, allowGenericSecsMessage, ALWAYS, ALWAYS_244BLOCK, ALWAYS_SECS1, CANNOT_SEND, F0_ERROR, maxRetryAttempts, NO_ERROR, replyBit, responseError, S9_ERROR, SECS1_244BLOCK, SECS1_MULTIBLOCK, sendErrors, SPOOLED, TIMEOUT_ERROR, towerAkrion, UNSOLICITED
Constructor and Description |
---|
S0F0()
The required default constructor.
|
S0F0(int stream,
int function,
boolean wBit,
SecsFormat theData)
Create the object with some useful parameters.
|
S0F0(SecsFormat theData)
The data is assumed to be correct format and is not checked.
|
Modifier and Type | Method and Description |
---|---|
SecsFormat |
getData()
Returns the message as a SecsFormat.
|
int |
getFunction()
Returns the function of this message.
|
int |
getStream()
Returns the stream number of this message.
|
void |
setFunction(int newValue)
Sets the function number of this message.
|
void |
setStream(int newValue)
Sets the stream number of this message.
|
addResponseHandler, checkZeroLength, convertData, convertData, convertData, convertDataRecursive, convertException, createMsg, createSecsFormatObject, dateToString, getAbortTransaction, getAbortTransaction, getClassFromHeader, getDataFormats, getDataFormatsRecursive, getDefaultReplyBit, getDetailedSML, getDeviceId, getError, getException, getFormattedBytes, getIgnoreAllTimeouts, getIgnoreTimeouts, getMessageId, getMsgId, getMultiBlockRequest, getNACK, getPrimaryMessage, getReplyBit, getResponseMessage, getSessionManager, getShouldSendMultiBlockRequests, getStructure, getSystemBytes, getTimeStamp, getTotalLength, getUnconvertedMsg, getUniqueSystemBytes, getUnrecoverableErrorHandler, handleResponseMessage, hasTimedOut, isConsideredMultiblock, isLastBlock, isMultiBlock, isReply, longName, notifyResponse, processSelf, registerMessageSpecificOutgoingVerifier, removeResponseHandler, replaceDataWith, responseTimedout, sendMessage, sendMessageAndWait, sendMessageInternal, setDetailedSML, setDeviceId, setIgnoreAllTimeouts, setIgnoreTimeouts, setIsLastBlock, setMessageId, setPrimaryMessage, setReplyBit, setResponseMessage, SetSecsError, SetSecsError, setSessionManager, setShouldSendMultiBlockRequests, setSystemBytes, setTimeStamp, setUnconvertedMsg, setUnrecoverableErrorHandler, shortName, theExceptionString, toEquipment, toHost, toString, waitForReply
public static final java.lang.String cvsRev
public int function
public int stream
public S0F0()
public S0F0(int stream, int function, boolean wBit, SecsFormat theData) throws SecsException
stream
- the stream of this objectfunction
- the function of this objectwBit
- the value for the W bittheData
- the data to be sent as this messageSecsException
public S0F0(SecsFormat theData)
public SecsFormat getData() throws SecsException
getData
in class SecsMsg
SecsException
SecsFormat00
public int getFunction()
getFunction
in class SecsMsg
public int getStream()
public void setFunction(int newValue)
setFunction
in class SecsMsg
newValue
- the function number.Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.