Class ReverseInboundServerImpl
java.lang.Object
se.laz.casual.network.inbound.reverse.ReverseInboundServerImpl
- All Implemented Interfaces:
se.laz.casual.network.reverse.inbound.ReverseInboundServer
public class ReverseInboundServerImpl
extends Object
implements se.laz.casual.network.reverse.inbound.ReverseInboundServer
Inbound "server" that connects and then acts exactly like
CasualServer
In fact it is in actuality a client but after connect it behaves as if the connection was initiated from the other side.
Note that we connect and then casual issues the domain connect request after which we act as if we were inbound all along.-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static se.laz.casual.network.reverse.inbound.ReverseInboundServerof(ReverseInboundConnectionInformation reverseInboundConnectionInformation, se.laz.casual.network.reverse.inbound.ReverseInboundListener eventListener, Supplier<jakarta.resource.spi.work.WorkManager> workManagerSupplier) toString()
-
Method Details
-
of
public static se.laz.casual.network.reverse.inbound.ReverseInboundServer of(ReverseInboundConnectionInformation reverseInboundConnectionInformation, se.laz.casual.network.reverse.inbound.ReverseInboundListener eventListener, Supplier<jakarta.resource.spi.work.WorkManager> workManagerSupplier) -
getAddress
- Specified by:
getAddressin interfacese.laz.casual.network.reverse.inbound.ReverseInboundServer
-
equals
-
hashCode
public int hashCode() -
toString
-