mirror of
https://github.com/apache/activemq.git
synced 2025-02-09 03:25:33 +00:00
40a7d3b6ac
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356304 13f79535-47bb-0310-9956-ffa450edef68
44 lines
895 B
C#
Executable File
44 lines
895 B
C#
Executable File
using System;
|
|
|
|
namespace ActiveMQ
|
|
{
|
|
/// <summary>
|
|
/// Summary description for IntResponseReceipt.
|
|
/// </summary>
|
|
public class IntResponseReceipt : Receipt {
|
|
|
|
private int result;
|
|
|
|
/**
|
|
* @see org.activemq.message.Receipt#getPacketType()
|
|
*/
|
|
public new int getPacketType()
|
|
{
|
|
return INT_RESPONSE_RECEIPT_INFO;
|
|
}
|
|
|
|
/**
|
|
* @return Returns the result.
|
|
*/
|
|
public int getResult()
|
|
{
|
|
return result;
|
|
}
|
|
|
|
/**
|
|
* @param result The result to set.
|
|
*/
|
|
public void setResult(int result)
|
|
{
|
|
this.result = result;
|
|
}
|
|
|
|
public new String ToString()
|
|
{
|
|
return super.toString() + " IntResponseReceipt{ " +
|
|
"result = " + result +
|
|
" }";
|
|
}
|
|
}
|
|
}
|