public class ErrorResponse extends BaseMessage
functionCode, transactionId, unitIdentifier
Constructor and Description |
---|
ErrorResponse(int transactionId,
byte unitIdentifier,
byte functionCode,
byte exceptionCode)
Create a new error response
|
Modifier and Type | Method and Description |
---|---|
byte |
getExceptionCode() |
String |
toString() |
getFunctionCode, getTransactionId, getUnitIdentifier
public ErrorResponse(int transactionId, byte unitIdentifier, byte functionCode, byte exceptionCode)
transactionId
- the request transaction idunitIdentifier
- the request unit idfunctionCode
- the original function code, no having the exception flag setexceptionCode
- the exception code. Also see Constants
.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.