public class AgentManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ProducentAgent |
agent
Agent producencki
|
Constructor and Description |
---|
AgentManager() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteAgent()
Metoda kończąca byt agent producenckiego.
|
static void |
deregisterFromYP()
Metoda wyrejestrująca agenta z Yellow Pages.
|
static ProducentAgent |
getAgent() |
static void |
registerInYP()
Metoda rejestrująca agenta w Yellow Pages jako "Producent".
|
static void |
setAgent(ProducentAgent agent) |
public static ProducentAgent agent
public static void setAgent(ProducentAgent agent)
public static ProducentAgent getAgent()
public static void deleteAgent()
public static void registerInYP()
public static void deregisterFromYP()