public class

GNTrafficClass

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.GNTrafficClass

Class Overview

Represents the geo networking traffic class.

Summary

Public Constructors
GNTrafficClass(boolean scfEnabled, boolean chOffload, long tcId)
Creates a new instance.
Public Methods
boolean equals(Object o)
boolean getChOffload()
Returns true if channel offload is enabled, false otherwise.
boolean getScfEnabled()
Returns true if store and carry foward is enabled, false otherwise.
long getTcId()
Returns the traffic class id.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GNTrafficClass (boolean scfEnabled, boolean chOffload, long tcId)

Creates a new instance.

Parameters
scfEnabled whether store carry and forward is enabled
chOffload whether channel offload is enabled
tcId traffic class identifier

Public Methods

public boolean equals (Object o)

public boolean getChOffload ()

Returns true if channel offload is enabled, false otherwise.

Returns
  • true if channel offload is enabled, false otherwise

public boolean getScfEnabled ()

Returns true if store and carry foward is enabled, false otherwise.

Returns
  • true if store and carry foward is enabled, false otherwise.

public long getTcId ()

Returns the traffic class id.

Returns
  • the traffic class id

public int hashCode ()

public String toString ()