projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc70c30
)
LP#1339190: support disconnection for SIP multiplex purposes
author
Mike Rylander
<mrylander@gmail.com>
Wed, 11 Sep 2013 20:02:24 +0000
(16:02 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Thu, 7 Aug 2014 15:53:11 +0000
(11:53 -0400)
This patch adds a disconnect method to close the OpenSRF
connect; this method is invoked only when the Net::Server::Multiplex
personality is in use.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
index
a984200
..
8098d84
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
@@
-42,6
+42,10
@@
use constant {
SIP_DATETIME => "%Y%m%d %H%M%S",
};
+sub disconnect {
+ OpenSRF::Transport::PeerHandle->retrieve->disconnect
+}
+
sub new {
my ($class, $institution, $login) = @_;
my $type = ref($class) || $class;