summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/background/Configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/background/Configuration.h')
-rw-r--r--cpp/test/Ice/background/Configuration.h38
1 files changed, 21 insertions, 17 deletions
diff --git a/cpp/test/Ice/background/Configuration.h b/cpp/test/Ice/background/Configuration.h
index 9f0ff1ab634..55383ae5bdf 100644
--- a/cpp/test/Ice/background/Configuration.h
+++ b/cpp/test/Ice/background/Configuration.h
@@ -1,6 +1,6 @@
// **********************************************************************
//
-// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
+// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
@@ -25,27 +25,30 @@ public:
Configuration();
virtual ~Configuration();
- virtual void connectorsException(Ice::LocalException*);
- virtual void checkConnectorsException();
+ void connectorsException(Ice::LocalException*);
+ void checkConnectorsException();
- virtual void connectException(Ice::LocalException*);
- virtual void checkConnectException();
+ void connectException(Ice::LocalException*);
+ void checkConnectException();
- virtual void initializeSocketOperation(IceInternal::SocketOperation);
- virtual void initializeException(Ice::LocalException*);
- virtual IceInternal::SocketOperation initializeSocketOperation();
- virtual void checkInitializeException();
+ void initializeSocketOperation(IceInternal::SocketOperation);
+ void initializeException(Ice::LocalException*);
+ IceInternal::SocketOperation initializeSocketOperation();
+ void checkInitializeException();
- virtual void readReady(bool);
- virtual void readException(Ice::LocalException*);
- virtual bool readReady();
- virtual void checkReadException();
+ void readReady(bool);
+ void readException(Ice::LocalException*);
+ bool readReady();
+ void checkReadException();
- virtual void writeReady(bool);
- virtual void writeException(Ice::LocalException*);
- virtual bool writeReady();
- virtual void checkWriteException();
+ void writeReady(bool);
+ void writeException(Ice::LocalException*);
+ bool writeReady();
+ void checkWriteException();
+ void buffered(bool);
+ bool buffered();
+
static Configuration* getInstance();
private:
@@ -59,6 +62,7 @@ private:
IceUtil::UniquePtr<Ice::LocalException> _readException;
int _writeReadyCount;
IceUtil::UniquePtr<Ice::LocalException> _writeException;
+ bool _buffered;
static Configuration* _instance;
};