jetstream-api 0.6.5__tar.gz → 0.6.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/PKG-INFO +1 -1
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/__init__.py +1 -1
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/admin.py +18 -21
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/jetstream_api.egg-info/PKG-INFO +1 -1
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/pyproject.toml +1 -1
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/LICENSE.txt +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/README.md +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/admintopic.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/common.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/connectivity.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/exception.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/msg.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/pattern.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/producer.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/properties.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/py.typed +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/qmgr.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/topic.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/ilink/util.py +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/jetstream_api.egg-info/SOURCES.txt +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/jetstream_api.egg-info/dependency_links.txt +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/jetstream_api.egg-info/requires.txt +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/jetstream_api.egg-info/top_level.txt +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/setup.cfg +0 -0
- {jetstream_api-0.6.5 → jetstream_api-0.6.6}/tests/test_example.py +0 -0
|
@@ -605,31 +605,28 @@ class ILAdminService:
|
|
|
605
605
|
ILException: 통신 실패.
|
|
606
606
|
|
|
607
607
|
Warning:
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
모르고 지나갈 수 없다.
|
|
608
|
+
**값 검증은 엔진이 한다.** 이 API 는 문자열 길이(와이어 폭) 외의 값
|
|
609
|
+
범위를 검사하지 않으므로, 범위 밖 값을 넣었을 때 무슨 일이 일어나는지는
|
|
610
|
+
**상대 엔진에 달려 있다.** 아래는 실측 결과다.
|
|
612
611
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
* **숫자 설정값**(타임아웃/주기/보관 수 등)이 범위를 벗어나면 엔진
|
|
618
|
-
7.1.1 이상은 거부하지 않고 **조용히 기본값으로 바꿔서 만든다.**
|
|
619
|
-
대조할 저장값이 없어 판정할 수 없기 때문이다. **오타를 내도
|
|
620
|
-
만들기는 성공하므로** 만든 뒤 :meth:`getQmgrProperty` 로 값을
|
|
621
|
-
확인한다::
|
|
612
|
+
* **범위 검사층이 있는 엔진은 생성 시 범위 밖 값을 거부한다**
|
|
613
|
+
(``MIMQE_INVALID_PROPERTY``). 숫자 설정값이든 이름·포트 같은 신원
|
|
614
|
+
항목이든 마찬가지다 - 생성 경로는 저장값과 대조하지 않고 범위만 본다::
|
|
622
615
|
|
|
623
616
|
vo = ILQmgrProperty("QMGR01", 19999)
|
|
624
617
|
vo.setSendTimeout(999999) # 범위 밖 (1~864000)
|
|
625
|
-
svc.createQmgr(vo)
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
618
|
+
svc.createQmgr(vo)
|
|
619
|
+
# 7.0.1.3367 -> ILOperationException
|
|
620
|
+
# MIMQE_INVALID_PROPERTY (SOCKTIMEOUTSND must be 1~864000 sec)
|
|
621
|
+
|
|
622
|
+
* **그 검사층이 없는 구엔진에서는 범위 밖 값이 그대로 저장된다.**
|
|
623
|
+
위와 같은 호출이 6.3.1 / 6.3.4 에서는 오류 없이 성공하고 저장값도
|
|
624
|
+
999999 가 된다. **조용히 잘못된 값으로 도는 쪽은 구엔진이므로**,
|
|
625
|
+
만든 뒤 :meth:`getQmgrProperty` 로 되읽어 확인한다.
|
|
626
|
+
|
|
627
|
+
:meth:`setQmgrProperty` (변경)는 판정 기준이 다르다. 검사층이 있는
|
|
628
|
+
엔진은 **저장값과 대조**해서, 손대지 않은 왕복은 통과시키고 범위 밖
|
|
629
|
+
**새** 값만 거부한다 - 구엔진 설정 이관이 막히지 않게 하려는 것이다.
|
|
633
630
|
|
|
634
631
|
Note:
|
|
635
632
|
만든 뒤 :meth:`startQmgr` 로 기동해야 접속할 수 있다.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|