Oneliner transport target classes now support the getTransportInfo()

method that returns network addresses used on protocol level
pull/45/head
elie 2013-05-25 09:11:46 +00:00
parent 85581d59e3
commit bdaef1032a
2 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,8 @@ Revision 4.2.5rc2
addV3User() functions as well as to their oneliner's wrappers.
- The contextEngineId parameter of config.addV3User() and auth.UsmUserData()
renamed into securityEngineId as it's semantically correct
- Oneliner transport target classes now support the getTransportInfo()
method that returns network addresses used on protocol level.
- AsynNotificationOriginator.cfgCmdGen() does not take into account
securityModel & securityLevel when reducing LCD access via addTrapUser().
This improves LCD consistency on sparse add/del operatons but also

View File

@ -17,6 +17,9 @@ class _AbstractTransportTarget:
self.timeout, self.retries, self.tagList
)
def getTransportInfo(self):
return self.transportDomain, self.transportAddr
def openClientMode(self):
self.transport = self.protoTransport().openClientMode()
return self.transport