public class SecondaryAgent extends NafManAgent implements Producer.Consumer<NafManCommand>
Constructor and Description |
---|
SecondaryAgent(Dispatcher dsptch,
NafManRegistry reg,
XmlConfig cfg) |
Modifier and Type | Method and Description |
---|---|
int |
getPort() |
PrimaryAgent |
getPrimary() |
boolean |
isPrimary() |
void |
producerIndication(Producer<NafManCommand> p) |
void |
stop() |
commandReceived, getDispatcher, getRegistry, handleNAFManCommand, listDispatchers, nafmanHandlerID, processCommand, setShutdown, start, stopDispatcher
public SecondaryAgent(Dispatcher dsptch, NafManRegistry reg, XmlConfig cfg) throws IOException
IOException
public boolean isPrimary()
isPrimary
in class NafManAgent
public PrimaryAgent getPrimary()
getPrimary
in class NafManAgent
public int getPort()
getPort
in class NafManAgent
public void stop()
stop
in class NafManAgent
public void producerIndication(Producer<NafManCommand> p) throws IOException
producerIndication
in interface Producer.Consumer<NafManCommand>
IOException
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.