|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agentfactory.cldc.migration.OutAgent
public class OutAgent
The OutAgent class represents an agent that will migrate from the local platform. It contains the agent name, the destination address, and the URL of where the agent's design is located.
| Constructor Summary | |
|---|---|
OutAgent(java.lang.Object agtName,
java.lang.String url,
java.lang.String design)
Creates a new instance of OutAgent. |
|
| Method Summary | |
|---|---|
void |
write(java.io.DataOutputStream output,
MigrationPlatform plat,
boolean b)
Causes the destination, design URL, and the agent's state to be written to a data output stream. |
void |
writeName(java.io.DataOutputStream output)
Writes the agent's name to a data output stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutAgent(java.lang.Object agtName,
java.lang.String url,
java.lang.String design)
agtName - the name of the agent.url - the agent's destination.design - the URL of where the agent's design may be obtained.| Method Detail |
|---|
public void write(java.io.DataOutputStream output,
MigrationPlatform plat,
boolean b)
throws java.io.IOException
output - the specified data output stream.plat - the migration platform, which the agent currently resides on.
java.io.IOException - if there is an I/O error.
public void writeName(java.io.DataOutputStream output)
throws java.io.IOException
output - the specified data output stream.
java.io.IOException - if there is an I/O error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||