Record Class ConnectionManagerParameter
java.lang.Object
java.lang.Record
com.iohao.net.server.connection.ConnectionManagerParameter
public record ConnectionManagerParameter(io.aeron.Aeron aeron, Publisher publisher, int netId, String centerIp, FutureManager futureManager)
extends Record
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-10-18
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionManagerParameter(io.aeron.Aeron aeron, Publisher publisher, int netId, String centerIp, FutureManager futureManager) Creates an instance of aConnectionManagerParameterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionio.aeron.Aeronaeron()Returns the value of theaeronrecord component.centerIp()Returns the value of thecenterIprecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefutureManagerrecord component.final inthashCode()Returns a hash code value for this object.intnetId()Returns the value of thenetIdrecord component.Returns the value of thepublisherrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectionManagerParameter
public ConnectionManagerParameter(io.aeron.Aeron aeron, Publisher publisher, int netId, String centerIp, FutureManager futureManager) Creates an instance of aConnectionManagerParameterrecord class.- Parameters:
aeron- the value for theaeronrecord componentpublisher- the value for thepublisherrecord componentnetId- the value for thenetIdrecord componentcenterIp- the value for thecenterIprecord componentfutureManager- the value for thefutureManagerrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
aeron
public io.aeron.Aeron aeron()Returns the value of theaeronrecord component.- Returns:
- the value of the
aeronrecord component
-
publisher
Returns the value of thepublisherrecord component.- Returns:
- the value of the
publisherrecord component
-
netId
public int netId()Returns the value of thenetIdrecord component.- Returns:
- the value of the
netIdrecord component
-
centerIp
Returns the value of thecenterIprecord component.- Returns:
- the value of the
centerIprecord component
-
futureManager
Returns the value of thefutureManagerrecord component.- Returns:
- the value of the
futureManagerrecord component
-