Freeze Slice API Reference
Connection.ice
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #pragma once
6 
7 #include <Freeze/Transaction.ice>
8 #include <Ice/Version.ice>
9 #include <Ice/CommunicatorF.ice>
10 
11 [["cpp:header-ext:h", "cpp:dll-export:FREEZE_API"]]
12 
13 module Freeze
14 {
15 
24 {
25 }
26 
35 local interface Connection
36 {
49 
58 
71  void removeMapIndex(string mapName, string indexName);
72 
79  void close();
80 
89 
98 
107  ["cpp:const"] string getName();
108 }
109 
110 }
CommunicatorF.ice
Ice::Communicator
Freeze::Connection::beginTransaction
Transaction beginTransaction()
Create a new transaction.
Ice::EncodingVersion
Freeze
Freeze provides automatic persistence for Ice servants.
Definition: BackgroundSaveEvictor.ice:12
Freeze::Connection::currentTransaction
Transaction currentTransaction()
Returns the transaction associated with this connection.
Transaction.ice
Freeze::TransactionAlreadyInProgressException
An attempt was made to start a transaction while a previous transaction has not yet been committed or...
Definition: Connection.ice:24
Freeze::Connection::removeMapIndex
void removeMapIndex(string mapName, string indexName)
Remove an unused Freeze Map index.
Freeze::Transaction
A transaction.
Definition: Transaction.ice:22
Freeze::Connection::getCommunicator
Ice::Communicator getCommunicator()
Returns the communicator associated with this connection.
Version.ice
Freeze::Connection::getEncoding
Ice::EncodingVersion getEncoding()
Returns the encoding version used to encode the data.
Freeze::Connection::close
void close()
Closes this connection.
Freeze::Connection::getName
string getName()
The name of the connected system (for example, the Berkeley DB environment).
Freeze::Connection
A connection to a database (database environment with Berkeley DB).
Definition: Connection.ice:36