Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
iso8583-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be6de9a5
authored
Apr 26, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add is_loop method to RequestHandler for improved control flow
1 parent
0daf02dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
iso8583_web/iso8583/__init__.py
iso8583_web/iso8583/__init__.py
View file @
be6de9a
...
@@ -227,6 +227,10 @@ class RequestHandler(BaseRequestHandler, CommonConnection):
...
@@ -227,6 +227,10 @@ class RequestHandler(BaseRequestHandler, CommonConnection):
log
.
info
(
'Connection from {}:{}'
.
format
(
ip
,
port
))
log
.
info
(
'Connection from {}:{}'
.
format
(
ip
,
port
))
BaseRequestHandler
.
handle
(
self
)
BaseRequestHandler
.
handle
(
self
)
def
is_loop
(
self
):
sleep
(
0.1
)
return
self
.
running
def
on_receive_raw
(
self
,
raw
):
def
on_receive_raw
(
self
,
raw
):
self
.
log_receive_raw
(
raw
)
self
.
log_receive_raw
(
raw
)
BaseRequestHandler
.
on_receive_raw
(
self
,
raw
)
BaseRequestHandler
.
on_receive_raw
(
self
,
raw
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment