def __str__( self ): return '%s, %s(%s:%s %s:%s), messageLength: %s, timestamp: %s, ' \ 'binding: %s, connection: %s, ' \ 'useragent: %s, remoteHost: %s, remoteUser: %s, localHost: %s, localUser: %s, dialog: %s, transaction: %s' \ % ( Event.__str__(self), str(self.transport), str(self.localAddress), str(self.localPort), str(self.remoteAddress), str(self.remotePort), str(len(self.message)), str(self.timestamp), \ str(self.binding), str(self.connection), \ str(self.useragent), str(self.remoteHost), str(self.remoteUser), str(self.localHost), str(self.localUser), str(self.dialog), str(self.transaction) )
def __str__( self ): return '%s, code: %s, description: %s, %s(%s:%s %s:%s)' % ( Event.__str__(self), str(self.code), str(self.description), str(self.transport), str(self.localAddress), str(self.localPort), str(self.remoteAddress), str(self.remotePort) )
def __str__( self ): l = 0 if self.packet: l = len(self.packet) return '%s, %s(%s:%s %s:%s), packetLength: %s, timestamp: %s' % ( Event.__str__(self), str(self.transport), str(self.localAddress), str(self.localPort), str(self.remoteAddress), str(self.remotePort), str(l), str(self.timestamp) )