/** * Deep clone * * @return cloned OpenSecureChannelRequest */ public OpenSecureChannelRequest clone() { OpenSecureChannelRequest result = (OpenSecureChannelRequest) super.clone(); result.RequestHeader = RequestHeader == null ? null : RequestHeader.clone(); result.ClientProtocolVersion = ClientProtocolVersion; result.RequestType = RequestType; result.SecurityMode = SecurityMode; result.ClientNonce = ClientNonce; result.RequestedLifetime = RequestedLifetime; return result; }
/** * Deep clone * * @return cloned ModifySubscriptionRequest */ public ModifySubscriptionRequest clone() { ModifySubscriptionRequest result = (ModifySubscriptionRequest) super.clone(); result.RequestHeader = RequestHeader == null ? null : RequestHeader.clone(); result.SubscriptionId = SubscriptionId; result.RequestedPublishingInterval = RequestedPublishingInterval; result.RequestedLifetimeCount = RequestedLifetimeCount; result.RequestedMaxKeepAliveCount = RequestedMaxKeepAliveCount; result.MaxNotificationsPerPublish = MaxNotificationsPerPublish; result.Priority = Priority; return result; }