Base Framework
Public Member Functions | List of all members
LocalConnectionFactory Class Reference

Local connection factory. More...

#include <base/rmi/LocalConnectionFactory.h>

Inherits OrbConnectionFactory.

Public Member Functions

 LocalConnectionFactory (const String &endPoint)
 
String getUrn () const noexcept
 
String getEndPoint () const noexcept
 
Reference< OrbStubgetObject (const String &identifier)
 
void run (ProtectedPointer< Orb > orb)
 
 ~LocalConnectionFactory () noexcept
 
- Public Member Functions inherited from OrbConnectionFactory
 OrbConnectionFactory () noexcept
 
virtual ~OrbConnectionFactory () noexcept
 
- Public Member Functions inherited from ReferenceCountedObject
 ReferenceCountedObject () noexcept
 
 ReferenceCountedObject (const ReferenceCountedObject &copy) noexcept
 
 ReferenceCountedObject (ReferenceCountedObject &&move) noexcept
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &copy) noexcept
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&move) noexcept
 
MemorySize getNumberOfReferences_INTERNAL () const noexcept
 
virtual bool useGarbageCollector () const noexcept
 
- Public Member Functions inherited from DynamicObject
 DynamicObject () noexcept
 
bool isValidObject () const noexcept
 
virtual ~DynamicObject () noexcept(false)
 
 _COM_AZURE_DEV__BASE__OVERRIDE_ALLOC ()
 

Detailed Description

Local connection factory.

Local connection factory which produces LocalConnection connections.

See also
LocalConnection
Version
1.0

Constructor & Destructor Documentation

◆ LocalConnectionFactory()

LocalConnectionFactory::LocalConnectionFactory ( const String endPoint)

Initializes the connection factory with the specified end point.

Parameters
endPointThe identifier of the end point (e.g. local://).

◆ ~LocalConnectionFactory()

LocalConnectionFactory::~LocalConnectionFactory ( )
noexcept

Destroys the connection factory.

Member Function Documentation

◆ getEndPoint()

String LocalConnectionFactory::getEndPoint ( ) const
virtualnoexcept

Returns the identifier of the end point.

Implements OrbConnectionFactory.

◆ getObject()

Reference<OrbStub> LocalConnectionFactory::getObject ( const String identifier)

Returns a stub for the specified protocol independent identifier using this protocol.

◆ getUrn()

String LocalConnectionFactory::getUrn ( ) const
virtualnoexcept

Returns the global identifier of the connection scheme (e.g. "urn:rmi:orb:scheme:local").

Implements OrbConnectionFactory.

◆ run()

void LocalConnectionFactory::run ( ProtectedPointer< Orb orb)
virtual

Invoked by the orb.

Implements OrbConnectionFactory.