Record Class ConvenientCommunication
java.lang.Object
java.lang.Record
com.iohao.net.server.ConvenientCommunication
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-10-21
-
Constructor Summary
ConstructorsConstructorDescriptionConvenientCommunication(FindServer findServer, Publisher publisher) Creates an instance of aConvenientCommunicationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefindServerrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepublisherrecord component.voidvoidfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConvenientCommunication
Creates an instance of aConvenientCommunicationrecord class.- Parameters:
findServer- the value for thefindServerrecord componentpublisher- the value for thepublisherrecord component
-
-
Method Details
-
request
-
request
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
findServer
Returns the value of thefindServerrecord component.- Returns:
- the value of the
findServerrecord component
-
publisher
Returns the value of thepublisherrecord component.- Returns:
- the value of the
publisherrecord component
-