c
io.iohk.metronome.networking.ConnectionHandler
HandledConnection
Companion object HandledConnection
class HandledConnection[F[_], K, M] extends AnyRef
Connection which is already handled by connection handler i.e it is registered in registry and handler is subscribed for incoming messages of that connection
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HandledConnection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def age(): FiniteDuration
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def close: F[Unit]
- def closeAlreadyClosed: F[Unit]
- val connectionDirection: HandledConnectionDirection
-
def
ephemeralAddress: InetSocketAddress
The client side address of the TCP socket.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getCloseReason: F[HandledConnectionCloseReason]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def incomingMessage: F[Option[M]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: K
-
def
localAddress: InetSocketAddress
For an incoming connection, this is the local server address; for an outgoing connection, it is the local ephemeral address of the socket.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
remoteAddress: InetSocketAddress
For an incoming connection, this is the remote ephemeral address of the socket for an outgoing connection, it is the remote server address.
- def requestReplace(newConnection: HandledConnection[F, K, M]): F[ReplaceResult]
- def sendMessage(m: M): F[Unit]
- val serverAddress: InetSocketAddress
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated