public class EventReceiverFirehoseFactory extends Object implements FirehoseFactory<MapInputRowParser>
EventReceiver
interface. Can also register these
firehoses with an ServiceAnnouncingChatHandlerProvider
.Modifier and Type | Class and Description |
---|---|
class |
EventReceiverFirehoseFactory.EventReceiverFirehose |
Constructor and Description |
---|
EventReceiverFirehoseFactory(String serviceName,
Integer bufferSize,
ChatHandlerProvider chatHandlerProvider,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.fasterxml.jackson.databind.ObjectMapper smileMapper,
EventReceiverFirehoseRegister eventReceiverFirehoseRegister) |
Modifier and Type | Method and Description |
---|---|
Firehose |
connect(MapInputRowParser firehoseParser)
Initialization method that connects up the fire hose.
|
int |
getBufferSize() |
String |
getServiceName() |
public EventReceiverFirehoseFactory(String serviceName, Integer bufferSize, ChatHandlerProvider chatHandlerProvider, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, EventReceiverFirehoseRegister eventReceiverFirehoseRegister)
public Firehose connect(MapInputRowParser firehoseParser) throws IOException
FirehoseFactory
connect
in interface FirehoseFactory<MapInputRowParser>
IOException
public String getServiceName()
public int getBufferSize()
Copyright © 2011–2017. All rights reserved.