fm.liveswitch.ManagedConnectionCollection Class Reference

A collection of connections. More...

Public Member Functions

fm.liveswitch.ManagedConnection getById (String idValue)
 Gets a connection by ID. More...
 
fm.liveswitch.ManagedConnection getByRemoteId (String idValue)
 Gets a connection by remote ID. More...
 
 ManagedConnectionCollection ()
 
boolean tryGetById (String idValue, fm.liveswitch.Holder< fm.liveswitch.ManagedConnection > connection)
 Tries to get a connection by ID. More...
 
boolean tryGetByRemoteId (String idValue, fm.liveswitch.Holder< fm.liveswitch.ManagedConnection > connection)
 Tries to get a connection by remote ID. More...
 

Protected Member Functions

void addSuccess (fm.liveswitch.ManagedConnection value)
 Invoked when an element is added to the collection. More...
 
fm.liveswitch.ManagedConnection[] arrayFromList (java.util.ArrayList< fm.liveswitch.ManagedConnection > list)
 Creates an array from a list. More...
 
fm.liveswitch.ManagedConnectionCollection createCollection ()
 Creates a collection. More...
 
void removeSuccess (fm.liveswitch.ManagedConnection value)
 Invoked when an element is removed from the collection. More...
 

Detailed Description

A collection of connections.

Constructor & Destructor Documentation

◆ ManagedConnectionCollection()

fm.liveswitch.ManagedConnectionCollection.ManagedConnectionCollection ( )

Member Function Documentation

◆ addSuccess()

void fm.liveswitch.ManagedConnectionCollection.addSuccess ( fm.liveswitch.ManagedConnection  value)
protected

Invoked when an element is added to the collection.

Parameters
valueThe value.

◆ arrayFromList()

fm.liveswitch.ManagedConnection [] fm.liveswitch.ManagedConnectionCollection.arrayFromList ( java.util.ArrayList< fm.liveswitch.ManagedConnection list)
protected

Creates an array from a list.

Parameters
listThe list.

◆ createCollection()

fm.liveswitch.ManagedConnectionCollection fm.liveswitch.ManagedConnectionCollection.createCollection ( )
protected

Creates a collection.

◆ getById()

fm.liveswitch.ManagedConnection fm.liveswitch.ManagedConnectionCollection.getById ( String  idValue)

Gets a connection by ID.

Parameters
idValueThe identifier.
Returns
The connection, or
null
if the connection does not exist.

◆ getByRemoteId()

fm.liveswitch.ManagedConnection fm.liveswitch.ManagedConnectionCollection.getByRemoteId ( String  idValue)

Gets a connection by remote ID.

Parameters
idValueThe identifier.
Returns
The connection, or
null
if the connection does not exist.

◆ removeSuccess()

void fm.liveswitch.ManagedConnectionCollection.removeSuccess ( fm.liveswitch.ManagedConnection  value)
protected

Invoked when an element is removed from the collection.

Parameters
valueThe value.

◆ tryGetById()

boolean fm.liveswitch.ManagedConnectionCollection.tryGetById ( String  idValue,
fm.liveswitch.Holder< fm.liveswitch.ManagedConnection connection 
)

Tries to get a connection by ID.

Parameters
idValueThe identifier.
connectionThe connection.
Returns
The connection, or
null
if the connection does not exist.

◆ tryGetByRemoteId()

boolean fm.liveswitch.ManagedConnectionCollection.tryGetByRemoteId ( String  idValue,
fm.liveswitch.Holder< fm.liveswitch.ManagedConnection connection 
)

Tries to get a connection by remote ID.

Parameters
idValueThe identifier.
connectionThe connection.
Returns
The connection, or
null
if the connection does not exist.