Class RSocketConnectedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.rsocket.RSocketConnectedEvent
- All Implemented Interfaces:
Serializable
public class RSocketConnectedEvent extends IntegrationEvent
An
IntegrationEvent
to indicate that RSocket
from the client is connected
to the server.
This event can be used for mapping RSocketRequester
to the client by the
headers
meta-data or connect payload data
.
- Since:
- 5.2
- Author:
- Artem Bilan
- See Also:
IntegrationRSocketMessageHandler
, Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RSocketConnectedEvent(Object source, Map<String,Object> headers, DataBuffer data, RSocketRequester requester)
-
Method Summary
Modifier and Type Method Description DataBuffer
getData()
Map<String,Object>
getHeaders()
RSocketRequester
getRequester()
String
toString()
Methods inherited from class org.springframework.integration.events.IntegrationEvent
getCause, getSourceAsType
-
Constructor Details
-
RSocketConnectedEvent
public RSocketConnectedEvent(Object source, Map<String,Object> headers, DataBuffer data, RSocketRequester requester)
-
-
Method Details
-
getHeaders
-
getData
-
getRequester
-
toString
- Overrides:
toString
in classIntegrationEvent
-