public class GlueUCubeManagerImpl extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.core.PriorityOrdered, GlueUCubeManager
Bean Property - configFile : (필수) - option : (선택) default : active zombie, active 예제사용 예# 1 사용 예# 2
EAIHandler
Constructor and Description |
---|
GlueUCubeManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
int |
getOrder() |
int |
sendFile(String dummy,
String interfaceID,
String filePath)
1개 file 송신.
|
int |
sendMessage(String dummy,
String interfaceID,
String tc)
1개의 message 송신.
|
int[] |
sendMessages(String dummy,
String interfaceID,
List<String> tcList)
여러개의 message 송신.
|
void |
setConfigFile(String configFile)
setter method.
|
void |
setOption(String option)
setter method.
|
public void setConfigFile(String configFile)
configFile
- - EAIHandler 초기화시 사용할 파일public void setOption(String option)
option
- - active 또는 zombiepublic void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public int sendMessage(String dummy, String interfaceID, String tc)
sendMessage
in interface GlueUCubeManager
dummy
- 미사용interfaceID
- interface idtc
- 보내고자 하는 messagepublic int[] sendMessages(String dummy, String interfaceID, List<String> tcList)
sendMessages
in interface GlueUCubeManager
dummy
- interfaceID
- interface idtcList
- 보내고자 하는 message 리스트public int sendFile(String dummy, String interfaceID, String filePath)
sendFile
in interface GlueUCubeManager
dummy
- interfaceID
- : interface idfilePath
- : 보내고자 하는 file 정보(경로 & 파일명)Copyright © 2023–2024 POSCO DX. All rights reserved.