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