public class DelegateFactory extends Object
| Constructor and Description |
|---|
DelegateFactory(org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
io.vertx.core.http.HttpClient selfClient,
Map<String,Object> properties,
String delegatesSchema)
Creates a new instance of the DelegateFactory.
|
| Modifier and Type | Method and Description |
|---|---|
Delegate |
parseDelegate(String delegateName,
io.vertx.core.buffer.Buffer buffer)
Tries to create a Delegate object out of the
buffer.
|
public DelegateFactory(org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler,
io.vertx.core.http.HttpClient selfClient,
Map<String,Object> properties,
String delegatesSchema)
monitoringHandler - selfClient - properties - delegatesSchema - public Delegate parseDelegate(String delegateName, io.vertx.core.buffer.Buffer buffer) throws org.swisspush.gateleen.validation.ValidationException
delegateName - name of the delegatebuffer - buffer of the delegateorg.swisspush.gateleen.validation.ValidationExceptionCopyright © 2016–2020. All rights reserved.