def __init__(self, MyConfig, IsDuringBusinessHours):
		DefaultMessageBuilder.__init__(self, MyConfig)
		self.__pendingMessages = {}
		self.__customImmediateSenderConfirmationMessage = self._MyConfig.getCustomImmediateSenderConfirmationMessage()
		self.__isDuringBusinessHours = IsDuringBusinessHours.isDuringBusinessHours()
		self.__customNobodyAvailableDuringBusinessHoursMessage = MyConfig.getCustomNobodyAvailableDuringBusinessHoursMessage()
		self.__customNobodyAvailableOutsideBusinessHoursMessage = MyConfig.getCustomNobodyAvailableOutsideBusinessHoursMessage()
		self.__JidHandleGroups = MyConfig.getJidHandleGroups()
Beispiel #2
0
 def __init__(self, MyConfig, IsDuringBusinessHours):
     DefaultMessageBuilder.__init__(self, MyConfig)
     self.__pendingMessages = {}
     self.__customImmediateSenderConfirmationMessage = self._MyConfig.getCustomImmediateSenderConfirmationMessage(
     )
     self.__isDuringBusinessHours = IsDuringBusinessHours.isDuringBusinessHours(
     )
     self.__customNobodyAvailableDuringBusinessHoursMessage = MyConfig.getCustomNobodyAvailableDuringBusinessHoursMessage(
     )
     self.__customNobodyAvailableOutsideBusinessHoursMessage = MyConfig.getCustomNobodyAvailableOutsideBusinessHoursMessage(
     )
     self.__JidHandleGroups = MyConfig.getJidHandleGroups()
Beispiel #3
0
 def factory(MyConfig, ModifierClass):
     return IsDuringBusinessHoursFilter(IsDuringBusinessHours(MyConfig))
Beispiel #4
0
 def __init__(self, IsDuringBusinessHours):
     self.__isDuringBusinessHours = IsDuringBusinessHours.isDuringBusinessHours(
     )
Beispiel #5
0
 def factory(MyConfig, MessageBuilder, kwargs):
     return MessageBuilder(MyConfig, IsDuringBusinessHours(MyConfig))