|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.uwf.kaos.coabsgrid.test.kgh.WeatherAgentBlockComm
public class WeatherAgentBlockComm
$Revision: 1.3 $
Field Summary | |
---|---|
protected java.lang.String |
name
|
protected KAoSAgentRegistrationHelper |
reg
|
Constructor Summary | |
---|---|
WeatherAgentBlockComm(java.lang.String name)
Uses default LegacyWeatherAgentBlockComm. |
|
WeatherAgentBlockComm(java.lang.String name,
LegacyWeatherService ws)
Demonstrates wrapping a legacy system. |
Method Summary | |
---|---|
AgentRep |
getAgentRep()
Used by the SerializeWeatherAgentBlockComm and TravelingWeatherAgentBlockComm classes. |
static void |
main(java.lang.String[] args)
Main program. |
void |
messageAdded(Message msg)
Implements MessageListener. |
void |
reexport()
Used by the SerializeWeatherAgentBlockComm and TravelingWeatherAgentBlockComm classes. |
protected void |
respondToWeatherQuery(Message msg)
Composes a reply message which inclues a weather forecast. |
void |
sendWeatherQueries(AgentRep rep)
Sends a weather query to an AgentRep. |
void |
unexport()
Used by the SerializeWeatherAgentBlockComm and TravelingWeatherAgentBlockComm classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected KAoSAgentRegistrationHelper reg
Constructor Detail |
---|
public WeatherAgentBlockComm(java.lang.String name, LegacyWeatherService ws) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public WeatherAgentBlockComm(java.lang.String name) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
Method Detail |
---|
public void sendWeatherQueries(AgentRep rep)
public void messageAdded(Message msg)
protected void respondToWeatherQuery(Message msg)
public void unexport()
public void reexport() throws java.io.IOException
java.io.IOException
public AgentRep getAgentRep()
public static void main(java.lang.String[] args) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |