Sha256: 4808355ebb20a7e9fa252b4378ff2908d7a2899e8c3ecffa0c0ea33c3ed537f1
Contents?: true
Size: 663 Bytes
Versions: 13
Compression:
Stored size: 663 Bytes
Contents
from javonet.utils.ConnectionType import ConnectionType from javonet.utils.connectionData.IConnectionData import IConnectionData class InMemoryConnectionData(IConnectionData): @property def connection_type(self): return ConnectionType.InMemory @property def hostname(self): return "" def serialize_connection_data(self): return [self.connection_type.value, 0, 0, 0, 0, 0, 0] def __eq__(self, other): return isinstance(other, InMemoryConnectionData) def __hash__(self): hash_code = 593727026 hash_code = hash_code * -1521134295 + hash(self.connection_type) return hash_code
Version data entries
13 entries across 11 versions & 1 rubygems