Package akka.actor.testkit.typed
Class Effect.MessageAdapter<A,T>
- java.lang.Object
-
- akka.actor.testkit.typed.Effect
-
- akka.actor.testkit.typed.Effect.MessageAdapter<A,T>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Effect
public static final class Effect.MessageAdapter<A,T> extends Effect implements scala.Product, java.io.Serializable
The behavior create a message adapter for the messages of type clazz- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.testkit.typed.Effect
Effect.AskInitiated<Req,Res,T>, Effect.AskInitiated$, Effect.MessageAdapter<A,T>, Effect.MessageAdapter$, Effect.NoEffects, Effect.NoEffects$, Effect.ReceiveTimeoutCancelled, Effect.ReceiveTimeoutCancelled$, Effect.ReceiveTimeoutSet<T>, Effect.ReceiveTimeoutSet$, Effect.Scheduled<U>, Effect.Scheduled$, Effect.Spawned<T>, Effect.Spawned$, Effect.SpawnedAdapter$, Effect.SpawnedAnonymous<T>, Effect.SpawnedAnonymous$, Effect.SpawnedAnonymousAdapter$, Effect.Stopped, Effect.Stopped$, Effect.TimerCancelled, Effect.TimerCancelled$, Effect.TimerScheduled<U>, Effect.TimerScheduled$, Effect.Unwatched<T>, Effect.Unwatched$, Effect.Watched<T>, Effect.Watched$, Effect.WatchedWith<U,T>, Effect.WatchedWith$
-
-
Constructor Summary
Constructors Constructor Description MessageAdapter(java.lang.Class<A> messageClass, scala.Function1<A,T> adapt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Function1<A,T>
adapt()
java.util.function.Function<A,T>
adaptFunction()
JAVA APIboolean
canEqual(java.lang.Object x$1)
<A,T>
Effect.MessageAdapter<A,T>copy(java.lang.Class<A> messageClass, scala.Function1<A,T> adapt)
<A,T>
java.lang.Class<A>copy$default$1()
<A,T>
scala.Function1<A,T>copy$default$2()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.Class<A>
messageClass()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
-
Methods inherited from class akka.actor.testkit.typed.Effect
timerScheduled
-
-
-
-
Method Detail
-
messageClass
public java.lang.Class<A> messageClass()
-
copy
public <A,T> Effect.MessageAdapter<A,T> copy(java.lang.Class<A> messageClass, scala.Function1<A,T> adapt)
-
copy$default$1
public <A,T> java.lang.Class<A> copy$default$1()
-
copy$default$2
public <A,T> scala.Function1<A,T> copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-