es.upv.dsic.gti_ia.core
Class BridgeAgentOutIn
java.lang.Object
es.upv.dsic.gti_ia.core.BaseAgent
es.upv.dsic.gti_ia.core.BridgeAgentOutIn
- All Implemented Interfaces:
- Runnable
public class BridgeAgentOutIn
- extends BaseAgent
This agent routes messages from inside the platform to outside the platform.
- Author:
- Ricard Lopez Fogues
|
Field Summary |
static int |
http_port
BridgeAgentOutIn runs on 8081 port |
|
Method Summary |
void |
execute()
Waits for a message and processes it, in parallel. |
void |
exit()
Closes the connection and finalizes the listening process. |
static int |
getHttp_port()
|
static void |
setHttp_port(int http_port)
|
| Methods inherited from class es.upv.dsic.gti_ia.core.BaseAgent |
activateTraceService, changeIdentity, deactivateTraceService, finalize, getAid, getName, init, onMessage, onTraceEvent, run, send, sendTraceEvent, start, terminate |
http_port
public static int http_port
- BridgeAgentOutIn runs on 8081 port
BridgeAgentOutIn
public BridgeAgentOutIn(AgentID aid)
throws Exception
- Creates a new BrideAgentOutIn
- Parameters:
aid - connection -
- Throws:
Exception
getHttp_port
public static int getHttp_port()
setHttp_port
public static void setHttp_port(int http_port)
execute
public void execute()
- Waits for a message and processes it, in parallel.
- Overrides:
execute in class BaseAgent
exit
public void exit()
- Closes the connection and finalizes the listening process.
Copyright © 2012 GTI-IA. All Rights Reserved.