X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazpp%2Fpdu-assoc.h;h=a108b28eabcd4510f53ce4919f1e4c74ab935f11;hb=d62e0baee8ee3cccced41746ef09fc3e01f401d5;hp=5e4d5455ae8517a2333cf38406439be94c7926c2;hpb=1712037ea49f815f10b68b4231dca7a91802ff04;p=yazpp-moved-to-github.git diff --git a/include/yazpp/pdu-assoc.h b/include/yazpp/pdu-assoc.h index 5e4d545..a108b28 100644 --- a/include/yazpp/pdu-assoc.h +++ b/include/yazpp/pdu-assoc.h @@ -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 and Mike Taylor * 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);