Class: Agent

Inherits:
Object
  • Object
show all
Defined in:
lib/cirrocumulus/identifier.rb

Overview

Syntax sugar for agent identifiers.

Class Method Summary collapse

Class Method Details

.allObject



13
14
15
# File 'lib/cirrocumulus/identifier.rb', line 13

def self.all
   WholeOntologyIdentifier.new
end

.local(instance_name) ⇒ Object



5
6
7
# File 'lib/cirrocumulus/identifier.rb', line 5

def self.local(instance_name)
  LocalIdentifier.new(instance_name)
end

.network(ontology_name) ⇒ Object



9
10
11
# File 'lib/cirrocumulus/identifier.rb', line 9

def self.network(ontology_name)
  JabberIdentifier.new(ontology_name)
end

.remote(agent_identifier) ⇒ Object



17
18
19
# File 'lib/cirrocumulus/identifier.rb', line 17

def self.remote(agent_identifier)
	RemoteIdentifier.new(agent_identifier)
end