io.sarl.api.core.spaces
Class Participant
All Known Subclasses:
Participant
@org.eclipse.xtext.xbase.lib.XbaseGenerated
class Participant
extends java.lang.Object
Description of a participant.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.core
Since:
0.15
Property Summary
Modifier and type Property and description
Address address
Replies participant address.
EventListener participant
Replies the participant.
Constructor Summary
Constructor and description
new(Address,EventListener)
Constructor.
Action Summary
Modifier and type Action and description
static Participant createAndInit(Address,EventListener)
Create a participant.
boolean equals(Object)
Address getAddress
Replies participant address.
EventListener getParticipant
Replies the participant.
int hashCode
java.lang.String toString
Property Details
address
val address : Address
Replies participant address.

This property is an alias for the action: getAddress

Returns:
the address of the participant in the page.
participant
val participant : EventListener
Replies the participant.

This property is an alias for the action: getParticipant

Returns:
the event listener of the participant.
Constructor Details
new(Address,EventListener)
protected new(Address,EventListener)
Constructor.
Parameters:
address - the address of the participant.
eventListener - the participant.
Action Details
createAndInit(Address,EventListener)
def createAndInit(Address,EventListener) : Participant
Create a participant.
Parameters:
address - the address of the participant.
eventListener - the participant.
equals(Object)
def equals(Object) : boolean
getAddress
def getAddress : Address
Replies participant address.
Returns:
the address of the participant in the page.
getParticipant
def getParticipant : EventListener
Replies the participant.
Returns:
the event listener of the participant.
hashCode
def hashCode : int
toString
def toString : java.lang.String