public static class NodeMessagingClient.Handler implements MessageHandlerRegistration
A registration to handle messages of different types
Constructor and Description |
---|
Handler(TopicSession topicSession,
kotlin.jvm.functions.Function2<? super net.corda.node.services.messaging.ReceivedMessage,? super net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> callback)
A registration to handle messages of different types
|
Modifier and Type | Method and Description |
---|---|
TopicSession |
component1() |
kotlin.jvm.functions.Function2<net.corda.node.services.messaging.ReceivedMessage,net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> |
component2() |
NodeMessagingClient.Handler |
copy(TopicSession topicSession,
kotlin.jvm.functions.Function2<? super net.corda.node.services.messaging.ReceivedMessage,? super net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> callback)
A registration to handle messages of different types
|
boolean |
equals(java.lang.Object p) |
kotlin.jvm.functions.Function2<net.corda.node.services.messaging.ReceivedMessage,net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> |
getCallback() |
TopicSession |
getTopicSession() |
int |
hashCode() |
java.lang.String |
toString() |
public Handler(TopicSession topicSession, kotlin.jvm.functions.Function2<? super net.corda.node.services.messaging.ReceivedMessage,? super net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> callback)
A registration to handle messages of different types
public TopicSession getTopicSession()
public kotlin.jvm.functions.Function2<net.corda.node.services.messaging.ReceivedMessage,net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> getCallback()
public TopicSession component1()
public kotlin.jvm.functions.Function2<net.corda.node.services.messaging.ReceivedMessage,net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> component2()
public NodeMessagingClient.Handler copy(TopicSession topicSession, kotlin.jvm.functions.Function2<? super net.corda.node.services.messaging.ReceivedMessage,? super net.corda.node.services.messaging.MessageHandlerRegistration,kotlin.Unit> callback)
A registration to handle messages of different types
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)