public class GlueUCubeManagerImpl extends Object implements InitializingBean, DisposableBean, PriorityOrdered, GlueUCubeManager
Bean Property - configFile : (필수) - option : (선택) default : active zombie, active 예제사용 예# 1 사용 예# 2
EAIHandler
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
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 DisposableBean
Exception
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
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 © 2013–2021 POSCO ICT. All rights reserved.