|
|||||||||
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.WeatherAgentContentTest
public class WeatherAgentContentTest
$Revision: 1.1 $
Field Summary | |
---|---|
protected java.lang.String |
name
|
protected KAoSAgentRegistrationHelper |
reg
|
Constructor Summary | |
---|---|
WeatherAgentContentTest(java.lang.String name)
Uses default LegacyWeatherAgentContentTest. |
|
WeatherAgentContentTest(java.lang.String name,
LegacyWeatherService ws)
Demonstrates wrapping a legacy system. |
Method Summary | |
---|---|
AgentRep |
getAgentRep()
Used by the SerializeWeatherAgentContentTest and TravelingWeatherAgentContentTest classes. |
static void |
main(java.lang.String[] args)
Main program. |
void |
messageAdded(Message msg)
Implements MessageListener. |
void |
reexport()
Used by the SerializeWeatherAgentContentTest and TravelingWeatherAgentContentTest 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 SerializeWeatherAgentContentTest and TravelingWeatherAgentContentTest 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 WeatherAgentContentTest(java.lang.String name, LegacyWeatherService ws) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public WeatherAgentContentTest(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 |