public class

NetworkAddress

extends Object
java.lang.Object
   ↳ uk.ac.imperial.presage2.core.network.NetworkAddress

Class Overview

An address of a device in the network.

Using this we can send messages to this device

Summary

Fields
protected final UUID id Unique UUID of device we're sending the message to.
Public Constructors
NetworkAddress(UUID id)
Create a NetworkAddress given this UUID.
Public Methods
boolean equals(Object obj)
UUID getId()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final UUID id

Unique UUID of device we're sending the message to. Likely to be a participant's uuid.

Public Constructors

public NetworkAddress (UUID id)

Create a NetworkAddress given this UUID.

Public Methods

public boolean equals (Object obj)

Since: API Level

public UUID getId ()

Returns
  • the id

public int hashCode ()

Since: API Level

public String toString ()

Since: API Level

See Also