@@ -0,0 +1,1792 @@
+package org.graphstream.gama.extension.sender;%0A%0Aimport msi.gama.precompiler.ISymbolKind;%0Aimport msi.gama.precompiler.GamlAnnotations.facet;%0Aimport msi.gama.precompiler.GamlAnnotations.facets;%0Aimport msi.gama.precompiler.GamlAnnotations.inside;%0Aimport msi.gama.precompiler.GamlAnnotations.symbol;%0Aimport msi.gama.runtime.IScope;%0Aimport msi.gama.runtime.exceptions.GamaRuntimeException;%0Aimport msi.gaml.descriptions.IDescription;%0Aimport msi.gaml.expressions.IExpression;%0Aimport msi.gaml.statements.AbstractStatement;%0Aimport msi.gaml.statements.IStatement;%0Aimport msi.gaml.types.IType;%0A%0Aimport org.graphstream.gama.extension.GSManager;%0Aimport org.graphstream.gama.extension.IKeywordGSAdditional;%0A%0A@symbol(name = IKeywordGSAdditional.ADD_SENDER, kind = ISymbolKind.SINGLE_STATEMENT, with_sequence = false)%0A@inside(kinds = %7B ISymbolKind.BEHAVIOR, ISymbolKind.SINGLE_STATEMENT %7D)%0A@facets(value = %7B @facet(name = IKeywordGSAdditional.SENDERID, type = IType.STRING, optional = false),%0A%09%09 @facet(name = IKeywordGSAdditional.HOST, type = IType.STRING, optional = false),%0A%09%09 @facet(name = IKeywordGSAdditional.PORT, type = IType.INT, optional = false)%7D)%0Apublic class AddSenderStatement extends AbstractStatement implements IStatement%7B%0A%09%0A%09final IExpression senderid;%0A%09final IExpression host;%0A%09final IExpression port;%0A%09%0A%09public AddSenderStatement(IDescription desc) %7B%0A%09%09super(desc);%0A%09%09senderid = getFacet(IKeywordGSAdditional.SENDERID);%0A%09%09host = getFacet(IKeywordGSAdditional.HOST);%0A%09%09port = getFacet(IKeywordGSAdditional.PORT);%0A%09%7D%0A%0A%09@Override%0A%09protected Object privateExecuteIn(IScope scope) throws GamaRuntimeException %7B%0A%09%09String s = (String)(senderid.value(scope));%0A%09%09String h = (String)(host.value(scope));%0A%09%09int p = (Integer)(port.value(scope));%0A%09%09GSManager.addSender(s, h, p);%0A%09%09return null;%0A%09%7D%0A%0A%09%0A%7D

Add the 'add sender' command