Class LongValue
java.lang.Object
com.iohao.net.framework.protocol.wrapper.LongValue
Protocol wrapper for a single long value.
Wraps a primitive long for protobuf serialization, allowing it to be used
as a parameter or return type in @ActionMethod handlers.
- Author:
- 渔民小镇
- date:
- 2023-02-10
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
@Protobuf(fieldType=SINT64, order=1) public long valuethe wrapped long value
-
-
Constructor Details
-
LongValue
public LongValue()
-
-
Method Details
-
of
Create a LongValue wrapping the given long.- Parameters:
value- the long value to wrap- Returns:
- a new LongValue instance
-
toString
-