Release 1.6.4
[yazpp-moved-to-github.git] / include / yazpp / pdu-assoc.h
index 5e4d545..8683827 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2012 Index Data and Mike Taylor
+ * Copyright (C) Index Data 
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -51,6 +51,8 @@ class YAZ_EXPORT PDU_Assoc : public IPDU_Observable, yazpp_1::ISocketObserver {
 
     PDU_Assoc(yazpp_1::ISocketObservable *socketObservable, COMSTACK cs);
 
+    COMSTACK get_comstack(); 
+
     virtual ~PDU_Assoc();
 
     // optional feature implemented by PDU_Assoc (also by PDU_Asso_Thread)
@@ -67,11 +69,13 @@ class YAZ_EXPORT PDU_Assoc : public IPDU_Observable, yazpp_1::ISocketObserver {
     void idleTime(int timeout);
     void close_session();
     const char *getpeername();
+    void set_cert_fname(const char *fname);
 };
 
 class YAZ_EXPORT PDU_AssocThread : public PDU_Assoc {
  public:
     PDU_AssocThread(yazpp_1::ISocketObservable *socketObservable);
+    virtual ~PDU_AssocThread();
  private:
     void childNotify(COMSTACK cs);