public EndpointEvent deepCopy() { return new EndpointEvent(this); }
case 3: // ENDPOINT_EVENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.endpointEvent = new EndpointEvent(); struct.endpointEvent.read(iprot); struct.setEndpointEventIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Event struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.userId = iprot.readString(); struct.setUserIdIsSet(true); } if (incoming.get(1)) { struct.tenantId = iprot.readString(); struct.setTenantIdIsSet(true); } if (incoming.get(2)) { struct.endpointEvent = new EndpointEvent(); struct.endpointEvent.read(iprot); struct.setEndpointEventIsSet(true); } if (incoming.get(3)) { struct.routeAddress = new RouteAddress(); struct.routeAddress.read(iprot); struct.setRouteAddressIsSet(true); } } }
/** * Performs a deep copy on <i>other</i>. */ public Event(Event other) { if (other.isSetUserId()) { this.userId = other.userId; } if (other.isSetTenantId()) { this.tenantId = other.tenantId; } if (other.isSetEndpointEvent()) { this.endpointEvent = new EndpointEvent(other.endpointEvent); } if (other.isSetRouteAddress()) { this.routeAddress = new RouteAddress(other.routeAddress); } }
eventConverter.get().toByteArray(AvroEncDec.convert(eventSource))); org.kaaproject.kaa.server.common.thrift.gen.operations.EndpointEvent endpointEvent = new org.kaaproject.kaa.server.common.thrift.gen.operations.EndpointEvent( remoteEndpointEvent.getEvent().getId().toString(), ByteBuffer.wrap(