java.lang.Runnablepublic class ExampleTCPCompetency extends RemoteTCPCompetency
architectureavailable, competencyName, competencyType, plan, runningport| Constructor | Description |
|---|---|
ExampleTCPCompetency(IArchitecture architecture) |
constructor, every competency, should if possible have a constructor
that receives the Architecture as an argument
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
processMessage(java.lang.String message) |
we must also implement this method, it will be invoked, whenever we receive
a message from the remote program
|
boolean |
runsInBackground() |
this competency is invoked directly (does not run in background)
|
protected void |
startExecution(java.util.HashMap<java.lang.String,java.lang.String> parameters) |
we must implement this method.
|
getArchitecture, isConnected, onDestroy, raisecancel, getCompetencyName, getCompetencyType, isAvailable, isRunning, registerHandlers, requestStartCompetency, run, setAdditionalDatadestroy, getEventFilters, getEventHandlers, getRequestFilters, getRequestHandlers, getSimulation, getUID, schedule, wasDestroyedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompetencyCode, returnFailure, returnSuccessinitialize, sendMessagepublic ExampleTCPCompetency(IArchitecture architecture)
public boolean runsInBackground()
runsInBackground in class Competencyprotected void startExecution(java.util.HashMap<java.lang.String,java.lang.String> parameters)
startExecution in class RemoteCompetencyprotected void processMessage(java.lang.String message)
processMessage in class RemoteCompetency