T
- type of the channel of this subscriber.public interface Subscriber<T>
Modifier and Type | Method and Description |
---|---|
T |
channel()
The channel that this subscriber uses to communicate.
|
String |
clientId()
The client identifier of this subscriber
|
void |
patched(PatchMessage<?> patchMessage)
Is called when this subscribers underlying document has been patched, allowing
it to handle the
PatchMessage . |
String clientId()
String
the subscribers/clients identifierT channel()
This can be anything that the subscriber supports, for example it could be object representing a connection, or a simple String representing the communication channel.
T
the channel used to communicate.void patched(PatchMessage<?> patchMessage)
PatchMessage
.patchMessage
- the result of patching this subscribers underying document.Copyright © 2015 JBoss by Red Hat. All Rights Reserved.